summaryrefslogtreecommitdiff
path: root/includes/cdefs.h
diff options
context:
space:
mode:
authorTomek Mrugalski <tomek@isc.org>2011-05-11 14:01:25 +0000
committerTomek Mrugalski <tomek@isc.org>2011-05-11 14:01:25 +0000
commita34feb7d81efdd9a140084d070ce4633572467fb (patch)
tree791736265825e3b9a7927341a7640d3dd51015e8 /includes/cdefs.h
parentfb30f3fc8bb324c6be1a418c341d062d7e1603df (diff)
downloadisc-dhcp-a34feb7d81efdd9a140084d070ce4633572467fb.tar.gz
- Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
[ISC-Bugs #13151]
Diffstat (limited to 'includes/cdefs.h')
-rw-r--r--includes/cdefs.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/includes/cdefs.h b/includes/cdefs.h
index a0459e68..b04e5b58 100644
--- a/includes/cdefs.h
+++ b/includes/cdefs.h
@@ -40,22 +40,6 @@
#define __attribute__(x)
#endif
-#if (defined (__GNUC__) || defined (__STDC__)) && !defined (BROKEN_ANSI)
-#define PROTO(x) x
-#define KandR(x)
-#define ANSI_DECL(x) x
-#if defined (__GNUC__)
-#define INLINE inline
-#else
-#define INLINE
-#endif /* __GNUC__ */
-#else
-#define PROTO(x) ()
-#define KandR(x) x
-#define ANSI_DECL(x)
-#define INLINE
-#endif /* __GNUC__ || __STDC__ */
-
/* The following macro handles the case of unwanted return values. In
* GCC one can specify an attribute for a function to generate a warning
* if the return value of the function is ignored and one can't dispose of