summaryrefslogtreecommitdiff
path: root/lbl
diff options
context:
space:
mode:
authorassar <assar>2000-07-10 04:29:27 +0000
committerassar <assar>2000-07-10 04:29:27 +0000
commit045777a5b22a4794fe2fec89cfc3fd5076343c5d (patch)
treee68abdc1c748f56ee1a66f24ef7c1e2774192888 /lbl
parent90d1928077d6e871ac71a395f709840f606e5e8e (diff)
downloadtcpdump-045777a5b22a4794fe2fec89cfc3fd5076343c5d.tar.gz
remove inline and __attribute__ (now setting in config.h)
Diffstat (limited to 'lbl')
-rw-r--r--lbl/gnuc.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/lbl/gnuc.h b/lbl/gnuc.h
index efa08250..5eb67358 100644
--- a/lbl/gnuc.h
+++ b/lbl/gnuc.h
@@ -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