mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 02:52:36 +03:00
Split error-message table portions of errno.h out to gpxe/errortab.h
This commit is contained in:
20
src/include/gpxe/errortab.h
Normal file
20
src/include/gpxe/errortab.h
Normal file
@@ -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 */
|
||||
Reference in New Issue
Block a user