diff options
Diffstat (limited to 'libc/sysdeps/mach/hurd/err_hurd.sub')
-rw-r--r-- | libc/sysdeps/mach/hurd/err_hurd.sub | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libc/sysdeps/mach/hurd/err_hurd.sub b/libc/sysdeps/mach/hurd/err_hurd.sub new file mode 100644 index 000000000..4a4dee3aa --- /dev/null +++ b/libc/sysdeps/mach/hurd/err_hurd.sub @@ -0,0 +1,12 @@ +/* This file defines the Mach error system for Hurd server errors. */ + +#include <errno.h> + +extern const char *const _hurd_errlist[]; + +/* Omit `const' because we are included with `static' + defined to `static const'. */ +static struct error_subsystem err_hurd_sub[] = + { + { "(os/hurd)", _HURD_ERRNOS, (const char *const *) _hurd_errlist }, + }; |