Changeset bd37451


Ignore:
Timestamp:
03/14/12 15:00:22 (10 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
b3edbe9
Parents:
f440dc0
Message:
  • Fixed build error due to iow-lzo.c requiring libtrace.h
Location:
libwandio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libwandio/iow-lzo.c

    r60f3c4c rbd37451  
    6060#endif
    6161
    62 #include "libtrace.h"
    6362
    6463enum {
  • libwandio/wandio.h

    r60f3c4c rbd37451  
    5353#endif
    5454
     55#if __GNUC__ >= 3
     56#  define DEPRECATED __attribute__((deprecated))
     57#  define SIMPLE_FUNCTION __attribute__((pure))
     58#  define UNUSED __attribute__((unused))
     59#  define PACKED __attribute__((packed))
     60#  define PRINTF(formatpos,argpos) __attribute__((format(printf,formatpos,argpos)))
     61#else
     62#  define DEPRECATED
     63#  define SIMPLE_FUNCTION
     64#  define UNUSED
     65#  define PACKED
     66#  define PRINTF(formatpos,argpos)
     67#endif
    5568
    5669
Note: See TracChangeset for help on using the changeset viewer.