]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: make python/ts_expand.py actually work
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 31 May 2024 09:30:52 +0000 (11:30 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 31 May 2024 09:32:05 +0000 (11:32 +0200)
lib/typesafe.h was supposed to be outside the _TYPESAFE_EXPAND_MACROS
guard, so that including lib/atomlist.h grabs all the typesafe container
macros.

(No effect on normal build, as _TYPESAFE_EXPAND_MACROS is never defined
there.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/atomlist.h

index faf1d7324e58d9e54ea7f9e246986c3fae635d3b..3eb498a23a179335c91753f33c3cd291b04e2fd7 100644 (file)
@@ -6,8 +6,8 @@
 #ifndef _FRR_ATOMLIST_H
 #define _FRR_ATOMLIST_H
 
-#ifndef _TYPESAFE_EXPAND_MACROS
 #include "typesafe.h"
+#ifndef _TYPESAFE_EXPAND_MACROS
 #include "frratomic.h"
 #endif /* _TYPESAFE_EXPAND_MACROS */