summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-12 17:08:01 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-12 19:35:43 +0200
commitafb35622ef61212f0fe960a31c2326a9379bceae (patch)
treea3e691f3bd7e9d59871462d1bab8bdef63d3dd24 /lib/zebra.h
parentlib: use snprintfrr() in "hidden" printfs (diff)
downloadfrr-afb35622ef61212f0fe960a31c2326a9379bceae.tar.xz
frr-afb35622ef61212f0fe960a31c2326a9379bceae.zip
lib: make "%Ld" work for int64_t
... without compiler plugins. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 2f9ada09b..51b4849f5 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -244,13 +244,6 @@ size_t strlcpy(char *__restrict dest,
const char *__restrict src, size_t destsize);
#endif
-/* GCC have printf type attribute check. */
-#ifdef __GNUC__
-#define PRINTF_ATTRIBUTE(a,b) __attribute__ ((__format__ (__printf__, a, b)))
-#else
-#define PRINTF_ATTRIBUTE(a,b)
-#endif /* __GNUC__ */
-
/*
* RFC 3542 defines several macros for using struct cmsghdr.
* Here, we define those that are not present