]> The Tcpdump Group git mirrors - tcpdump/commitdiff
remove inline and __attribute__ (now setting in config.h)
authorassar <assar>
Mon, 10 Jul 2000 04:29:27 +0000 (04:29 +0000)
committerassar <assar>
Mon, 10 Jul 2000 04:29:27 +0000 (04:29 +0000)
lbl/gnuc.h

index efa0825016a74938e56827613d8c65a7c23c4987..5eb6735801a725eda29f21dc0b4d6e6d8237049a 100644 (file)
@@ -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
  *
 #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