]> git.proxmox.com Git - mirror_frr.git/commitdiff
lib: Remove unused INT8_MAX and UINT8_MAX values
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 2 Jun 2019 19:55:09 +0000 (15:55 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 2 Jun 2019 20:07:48 +0000 (16:07 -0400)
We are not using these in the system, remove.

Signed-off-by: Donald Sharp <sharpd2cumulusnetworks.com>
lib/zebra.h

index 6adc9904e539ae362b45996f315ffd1a25acf6a6..fe35e8c2ad9b37495078b51575531976f84e4f16 100644 (file)
@@ -202,18 +202,12 @@ typedef unsigned char uint8_t;
 /* Some systems do not define UINT32_MAX, etc.. from inttypes.h
  * e.g. this makes life easier for FBSD 4.11 users.
  */
-#ifndef INT8_MAX
-#define INT8_MAX       (127)
-#endif
 #ifndef INT16_MAX
 #define INT16_MAX      (32767)
 #endif
 #ifndef INT32_MAX
 #define INT32_MAX      (2147483647)
 #endif
-#ifndef UINT8_MAX
-#define UINT8_MAX      (255U)
-#endif
 #ifndef UINT16_MAX
 #define UINT16_MAX     (65535U)
 #endif