]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - includes/cdefs.h
- Code cleanup: remove obsolete PROTO, KandR, INLINE and ANSI_DECL macros
[thirdparty/dhcp.git] / includes / cdefs.h
index a0459e6847554a7ff1de4ebfb292790ed8c3c1a6..b04e5b58087aae066ce95ad7ca38e6bd76d61d74 100644 (file)
 #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