From ca5454057678927d5e4b244ab49fedc448198f0c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 4 Jan 2024 14:24:01 -0500 Subject: [PATCH] lib: Remove inclusion of various MAXINT from zebra.h All modern systems should have these defined. Let's stop paying the cost of this compilation. Signed-off-by: Donald Sharp --- lib/zebra.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/zebra.h b/lib/zebra.h index f838990b30..362037bf54 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -140,22 +140,6 @@ #include #endif /* HAVE_NETINET6_ND6_H */ -/* Some systems do not define UINT32_MAX, etc.. from inttypes.h - * e.g. this makes life easier for FBSD 4.11 users. - */ -#ifndef INT16_MAX -#define INT16_MAX (32767) -#endif -#ifndef INT32_MAX -#define INT32_MAX (2147483647) -#endif -#ifndef UINT16_MAX -#define UINT16_MAX (65535U) -#endif -#ifndef UINT32_MAX -#define UINT32_MAX (4294967295U) -#endif - /* Local includes: */ #if !defined(__GNUC__) #define __attribute__(x)