diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2024-04-29 17:28:55 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2024-04-29 17:37:49 +0200 |
commit | 1badd1941b5392462f47975608a46c77454e1869 (patch) | |
tree | 34c0e79706946d0c3987b25ae5bee56017292aed /lib/atomlist.h | |
parent | Merge pull request #15619 from opensourcerouting/fix/memory_optimizations (diff) | |
download | frr-1badd1941b5392462f47975608a46c77454e1869.tar.xz frr-1badd1941b5392462f47975608a46c77454e1869.zip |
python: add tool to expand typesafe definitions
This can be used to get less cryptic error/warnings from GCC when
dealing with something typesafe container related.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/atomlist.h')
-rw-r--r-- | lib/atomlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/atomlist.h b/lib/atomlist.h index 2b6a3a176..faf1d7324 100644 --- a/lib/atomlist.h +++ b/lib/atomlist.h @@ -6,8 +6,10 @@ #ifndef _FRR_ATOMLIST_H #define _FRR_ATOMLIST_H +#ifndef _TYPESAFE_EXPAND_MACROS #include "typesafe.h" #include "frratomic.h" +#endif /* _TYPESAFE_EXPAND_MACROS */ #ifdef __cplusplus extern "C" { |