Linux SPARSE checker discussions
 help / color / mirror / Atom feed
diff for duplicates of <20200705130220.26230-13-luc.vanoostenryck@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index b70f994..5246120 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -310,3 +310,25 @@ index 52d1106e7576..7fd01ec6cebe 100644
 -	CMODEL_LAST,
 -};
 -extern int arch_cmodel;
+-
+-enum standard {
+-	STANDARD_NONE,
+-	STANDARD_GNU,
+-	STANDARD_C89,
+-	STANDARD_GNU89 = STANDARD_C89 | STANDARD_GNU,
+-	STANDARD_C94,
+-	STANDARD_GNU94 = STANDARD_C94 | STANDARD_GNU,
+-	STANDARD_C99,
+-	STANDARD_GNU99 = STANDARD_C99 | STANDARD_GNU,
+-	STANDARD_C11,
+-	STANDARD_GNU11 = STANDARD_C11 | STANDARD_GNU,
+-	STANDARD_C17,
+-	STANDARD_GNU17 = STANDARD_C17 | STANDARD_GNU,
+-};
+-extern enum standard standard;
++extern char **handle_switch(char *arg, char **next);
++extern void handle_switch_finalize(void);
+ 
+ #endif
+-- 
+2.27.0
diff --git a/a/content_digest b/N1/content_digest
index c171146..308562d 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -317,6 +317,28 @@
  "-\tCMODEL_TINY,\n"
  "-\tCMODEL_LAST,\n"
  "-};\n"
- -extern int arch_cmodel;
+ "-extern int arch_cmodel;\n"
+ "-\n"
+ "-enum standard {\n"
+ "-\tSTANDARD_NONE,\n"
+ "-\tSTANDARD_GNU,\n"
+ "-\tSTANDARD_C89,\n"
+ "-\tSTANDARD_GNU89 = STANDARD_C89 | STANDARD_GNU,\n"
+ "-\tSTANDARD_C94,\n"
+ "-\tSTANDARD_GNU94 = STANDARD_C94 | STANDARD_GNU,\n"
+ "-\tSTANDARD_C99,\n"
+ "-\tSTANDARD_GNU99 = STANDARD_C99 | STANDARD_GNU,\n"
+ "-\tSTANDARD_C11,\n"
+ "-\tSTANDARD_GNU11 = STANDARD_C11 | STANDARD_GNU,\n"
+ "-\tSTANDARD_C17,\n"
+ "-\tSTANDARD_GNU17 = STANDARD_C17 | STANDARD_GNU,\n"
+ "-};\n"
+ "-extern enum standard standard;\n"
+ "+extern char **handle_switch(char *arg, char **next);\n"
+ "+extern void handle_switch_finalize(void);\n"
+ " \n"
+ " #endif\n"
+ "-- \n"
+ 2.27.0
 
-80f08484c2a6785e680749595f6642e4e016a8cbbb98fbd7337088266b442efd
+9bf9b61df0cb27339a160b7cf1db27988f82c902b6d62f2e060df13ae40dfb39

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox