diff options
| author | Michael Brown | 2005-04-27 14:08:52 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-27 14:08:52 +0200 |
| commit | d2d4978f4f34148f2a35668f5931a87ee93d04f9 (patch) | |
| tree | ad4d85e8b8d26ecc1b920ce36d7f62abbf167b90 /src/include/init.h | |
| parent | Special handling for symbols of the form "xxx_end", to make table end (diff) | |
| download | ipxe-d2d4978f4f34148f2a35668f5931a87ee93d04f9.tar.gz ipxe-d2d4978f4f34148f2a35668f5931a87ee93d04f9.tar.xz ipxe-d2d4978f4f34148f2a35668f5931a87ee93d04f9.zip | |
Use PREFIX_OBJECT to give the init_fn table variables meaningful names.
Diffstat (limited to 'src/include/init.h')
| -rw-r--r-- | src/include/init.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/init.h b/src/include/init.h index ab2c44bf3..37ce2d686 100644 --- a/src/include/init.h +++ b/src/include/init.h @@ -47,7 +47,7 @@ struct init_fn { /* Macro for creating an initialisation function table entry */ #define INIT_FN( init_order, init_func, reset_func, exit_func ) \ - static struct init_fn init_functions \ + static struct init_fn PREFIX_OBJECT(init_fn__) \ __attribute__ (( used, __table_section(init_fn,init_order) )) = { \ .init = init_func, \ .reset = reset_func, \ |
