Navigation


Changeset 1052:b3d623f04b6d in freeDiameter for include


Ignore:
Timestamp:
Apr 24, 2013, 1:49:00 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix a number of remaining compilation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/libfdproto.h

    r1038 r1052  
    9191
    9292/* Remove some deprecated warnings from some gnutls versions, when possible */
    93 #if defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 405
     93#if defined(__GNUC__)
    9494# define GCC_DIAG_DO_PRAGMA(x) _Pragma (#x)
    9595# define GCC_DIAG_PRAGMA(x) GCC_DIAG_DO_PRAGMA(GCC diagnostic x)
    96 # if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406
     96# if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 406         /* 4.6.x */
    9797#  define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(push) \
    9898     GCC_DIAG_PRAGMA(ignored x)
    9999#  define GCC_DIAG_ON(x) GCC_DIAG_PRAGMA(pop)
    100 # else
     100# else                                                  /* older */
    101101#  define GCC_DIAG_OFF(x) GCC_DIAG_PRAGMA(ignored x)
    102102#  define GCC_DIAG_ON(x)  GCC_DIAG_PRAGMA(warning x)
     
    19151915int fd_sess_fromsid ( uint8_t * sid, size_t len, struct session ** session, int * isnew);
    19161916
     1917/* only use the following in specific situations, e.g. app_radgw extension. They are normally handled by the framework only */
     1918int fd_sess_fromsid_msg ( uint8_t * sid, size_t len, struct session ** session, int * isnew);
     1919int fd_sess_ref_msg ( struct session * session );
     1920
    19171921/*
    19181922 * FUNCTION:    fd_sess_getsid
Note: See TracChangeset for help on using the changeset viewer.