#ifndef __STDC__
#define const
#endif
-extern int errno;
+
struct error_table {
char const * const * msgs;
long base;
#define ERRCODE_RANGE 8 /* # of bits to shift table number */
#define BITS_PER_CHAR 6 /* # bits to shift per character in name */
+#ifdef __STDC__
+extern const char *error_table_name(int num);
+#else
extern const char *error_table_name();
+#endif
+
#define _ET_H
#endif