diff options
author | assar <assar> | 2000-07-10 04:29:27 +0000 |
---|---|---|
committer | assar <assar> | 2000-07-10 04:29:27 +0000 |
commit | 045777a5b22a4794fe2fec89cfc3fd5076343c5d (patch) | |
tree | e68abdc1c748f56ee1a66f24ef7c1e2774192888 /lbl | |
parent | 90d1928077d6e871ac71a395f709840f606e5e8e (diff) | |
download | tcpdump-045777a5b22a4794fe2fec89cfc3fd5076343c5d.tar.gz |
remove inline and __attribute__ (now setting in config.h)
Diffstat (limited to 'lbl')
-rw-r--r-- | lbl/gnuc.h | 17 |
1 files changed, 1 insertions, 16 deletions
@@ -1,4 +1,4 @@ -/* @(#) $Header: /tcpdump/master/tcpdump/lbl/Attic/gnuc.h,v 1.3 1999-10-07 23:47:13 mcr Exp $ (LBL) */ +/* @(#) $Header: /tcpdump/master/tcpdump/lbl/Attic/gnuc.h,v 1.4 2000-07-10 04:29:27 assar Exp $ (LBL) */ /* Define __P() macro, if necessary */ #ifndef __P @@ -9,13 +9,6 @@ #endif #endif -/* inline foo */ -#ifdef __GNUC__ -#define inline __inline -#else -#define inline -#endif - /* * Handle new and old "dead" routine prototypes * @@ -28,16 +21,8 @@ #ifndef __dead #define __dead volatile #endif -#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) -#ifndef __attribute__ -#define __attribute__(args) -#endif -#endif #else #ifndef __dead #define __dead #endif -#ifndef __attribute__ -#define __attribute__(args) -#endif #endif |