diff options
author | David Lamparter <equinox@diac24.net> | 2021-02-21 05:48:48 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2021-03-17 06:18:17 +0100 |
commit | 15c05f1edf079bc03b277e44426a8af8616bb10b (patch) | |
tree | 07eba7a6ffc9e4c1caaabbb572632bd921082dc6 /babeld/babeld.h | |
parent | snmp: change -std=gnu99 to -std=gnu11 (diff) | |
download | frr-15c05f1edf079bc03b277e44426a8af8616bb10b.tar.xz frr-15c05f1edf079bc03b277e44426a8af8616bb10b.zip |
*: require ISO C11 (or C++11)
It's 2021... time to drop some 10yo compat stuff.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'babeld/babeld.h')
-rw-r--r-- | babeld/babeld.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/babeld/babeld.h b/babeld/babeld.h index 752cc8620..4487aae99 100644 --- a/babeld/babeld.h +++ b/babeld/babeld.h @@ -41,20 +41,6 @@ THE SOFTWARE. #define MAX(x,y) ((x)<=(y)?(y):(x)) #define MIN(x,y) ((x)<=(y)?(x):(y)) -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L -/* nothing */ -#elif defined(__GNUC__) -#define inline __inline -#if (__GNUC__ >= 3) -#define restrict __restrict -#else -#define restrict /**/ -#endif -#else -#define inline /**/ -#define restrict /**/ -#endif - #if defined(__GNUC__) && (__GNUC__ >= 3) #define ATTRIBUTE(x) __attribute__ (x) #define LIKELY(_x) __builtin_expect(!!(_x), 1) |