Quellcode durchsuchen

Use PREFIX_OBJECT to give the init_fn table variables meaningful names.

tags/v0.9.3
Michael Brown vor 19 Jahren
Ursprung
Commit
d2d4978f4f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      src/include/init.h

+ 1
- 1
src/include/init.h Datei anzeigen

@@ -47,7 +47,7 @@ struct init_fn {
47 47
 
48 48
 /* Macro for creating an initialisation function table entry */
49 49
 #define INIT_FN( init_order, init_func, reset_func, exit_func )		      \
50
-	static struct init_fn init_functions				      \
50
+	static struct init_fn PREFIX_OBJECT(init_fn__)			      \
51 51
 	    __attribute__ (( used, __table_section(init_fn,init_order) )) = { \
52 52
 		.init = init_func,					      \
53 53
 		.reset = reset_func,					      \

Laden…
Abbrechen
Speichern