Frantisek Sumsal
4d3510d00f
coccinelle: explicitly undefine SD_BOOT
So Coccinelle doesn't pull in includes guarded by #if SD_BOOT.
For example:
$ head -n5 main.c
#if FOO
#include "foo.h"
#else
#include "bar.h"
#endif
$ spatch --verbose-includes --recursive-includes --sp-file zz-drop-braces.cocci main.c
init_defs_builtins: /usr/lib64/coccinelle/standard.h
HANDLING: main.c
including ./foo.h
including ./bar.h
$ spatch --verbose-includes --recursive-includes --sp-file zz-drop-braces.cocci main.c --undefined FOO
init_defs_builtins: /usr/lib64/coccinelle/standard.h
HANDLING: main.c
including ./bar.h
2023-12-26 11:23:19 +01:00
..
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2023-03-18 14:23:11 +01:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2023-01-25 11:35:06 +01:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2023-08-16 12:52:56 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2022-05-30 18:17:11 +02:00
2023-10-25 11:16:37 +02:00
2023-12-25 17:47:18 +08:00
2023-12-25 13:53:02 +01:00
2022-12-13 14:39:30 +01:00
2021-10-01 14:45:00 +02:00
2022-02-16 17:26:26 +01:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2023-12-26 11:23:19 +01:00
2021-10-01 14:45:00 +02:00
2022-12-19 15:00:57 +01:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2023-12-25 15:38:59 +09:00
2021-10-14 15:57:52 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2023-07-09 14:07:48 +09:00
2021-10-01 14:45:00 +02:00
2022-02-22 22:47:12 +01:00
2021-10-01 14:45:00 +02:00
2021-10-01 14:45:00 +02:00
2023-12-25 13:53:02 +01:00