Navigation


Changeset 1034:f4a73a991623 in freeDiameter for libfdcore/sctps.c


Ignore:
Timestamp:
Apr 17, 2013, 7:38:12 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix warning on old GCC versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/sctps.c

    r1033 r1034  
    231231/* Set the parameters of a session to use the appropriate fifo and stream information */
    232232#ifndef GNUTLS_VERSION_300
    233 # pragma GCC diagnostic push
    234 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
     233GCC_DIAG_OFF("-Wdeprecated-declarations")
    235234#endif /* !GNUTLS_VERSION_300 */
    236235static void set_sess_transport(gnutls_session_t session, struct sctps_ctx *ctx)
     
    252251}
    253252#ifndef GNUTLS_VERSION_300
    254 # pragma GCC diagnostic pop
     253GCC_DIAG_ON("-Wdeprecated-declarations")
    255254#endif /* !GNUTLS_VERSION_300 */
    256255
Note: See TracChangeset for help on using the changeset viewer.