aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include/gpxe/errortab.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/gpxe/errortab.h')
-rw-r--r--gpxe/src/include/gpxe/errortab.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gpxe/src/include/gpxe/errortab.h b/gpxe/src/include/gpxe/errortab.h
index e9a56768..35765d48 100644
--- a/gpxe/src/include/gpxe/errortab.h
+++ b/gpxe/src/include/gpxe/errortab.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
struct errortab {
@@ -14,6 +16,8 @@ struct errortab {
const char *text;
};
-#define __errortab __table ( struct errortab, errortab, 01 )
+#define ERRORTAB __table ( struct errortab, "errortab" )
+
+#define __errortab __table_entry ( ERRORTAB, 01 )
#endif /* _GPXE_ERRORTAB_H */