Navigation


Changeset 1034:f4a73a991623 in freeDiameter for libfdcore/config.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/config.c

    r1033 r1034  
    227227
    228228#ifndef GNUTLS_VERSION_300
    229 # pragma GCC diagnostic push
    230 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
     229GCC_DIAG_OFF("-Wdeprecated-declarations")
    231230#endif /* !GNUTLS_VERSION_300 */
    232231/* Parse the configuration file (using the yacc parser) */
     
    600599}
    601600#ifndef GNUTLS_VERSION_300
    602 # pragma GCC diagnostic pop
     601GCC_DIAG_ON("-Wdeprecated-declarations")
    603602#endif /* !GNUTLS_VERSION_300 */
    604603
Note: See TracChangeset for help on using the changeset viewer.