sim: add ATTRIBUTE_FALLTHROUGH for local code

We'll replace various /* fall through */ comments so compilers can
actually understand what the code is doing.
This commit is contained in:
Mike Frysinger
2023-12-21 00:19:27 -05:00
parent d137b254d9
commit 29f1ffea25
2 changed files with 6 additions and 0 deletions

View File

@@ -25,6 +25,9 @@
/* Include gnulib's various configure tests. */
#include "gnulib/config.h"
/* This comes from gnulib. Export it until ansidecl.h handles it. */
#define ATTRIBUTE_FALLTHROUGH _GL_ATTRIBUTE_FALLTHROUGH
/* Reset macros that our config.h will provide. */
#undef PACKAGE
#undef PACKAGE_BUGREPORT