diff options
| author | Michael Brown | 2006-12-20 04:40:48 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-20 04:40:48 +0100 |
| commit | 84a2b886e16644f4fca157fcdb089b1994a8848c (patch) | |
| tree | 2c5df46ca3c103884ef65b6dea2809f79cf60700 /src/include/gpxe | |
| parent | Move strerror() prototype to string.h, where it belongs (diff) | |
| download | ipxe-84a2b886e16644f4fca157fcdb089b1994a8848c.tar.gz ipxe-84a2b886e16644f4fca157fcdb089b1994a8848c.tar.xz ipxe-84a2b886e16644f4fca157fcdb089b1994a8848c.zip | |
Split error-message table portions of errno.h out to gpxe/errortab.h
Diffstat (limited to 'src/include/gpxe')
| -rw-r--r-- | src/include/gpxe/errortab.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/gpxe/errortab.h b/src/include/gpxe/errortab.h new file mode 100644 index 000000000..1ca7fe551 --- /dev/null +++ b/src/include/gpxe/errortab.h @@ -0,0 +1,20 @@ +#ifndef _GPXE_ERRORTAB_H +#define _GPXE_ERRORTAB_H + +/** @file + * + * Error message tables + * + */ + +#include <errno.h> +#include <gpxe/tables.h> + +struct errortab { + int errno; + const char *text; +}; + +#define __errortab __table ( errortab, 01 ) + +#endif /* _GPXE_ERRORTAB_H */ |
