aboutsummaryrefslogtreecommitdiff
path: root/lib/libcom_err/internal.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-01-14 22:23:41 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-01-14 22:23:41 +0000
commitaf4d8ead38cac8e7026de67ff7ba3b744623c279 (patch)
tree77542679c39d3d1f555f94fe8f357cc9d8a36be7 /lib/libcom_err/internal.h
parente7f8d55240ec1c16dd7d3c836c9922e4bb26b3ce (diff)
downloadsrc-af4d8ead38cac8e7026de67ff7ba3b744623c279.tar.gz
src-af4d8ead38cac8e7026de67ff7ba3b744623c279.zip
The Common Error Description Library, developed by MIT SIPB and used by
a number of (ex-)Athena programs. Breaking my own rules for importing somewhat, as this code does not appear to be actively maintained by anyone (not that it really needs it).
Notes
Notes: svn path=/cvs2svn/branches/sipb/; revision=5622
Diffstat (limited to 'lib/libcom_err/internal.h')
-rw-r--r--lib/libcom_err/internal.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/libcom_err/internal.h b/lib/libcom_err/internal.h
new file mode 100644
index 000000000000..880fe7686217
--- /dev/null
+++ b/lib/libcom_err/internal.h
@@ -0,0 +1,18 @@
+/*
+ * internal include file for com_err package
+ */
+#include "mit-sipb-copyright.h"
+#ifndef __STDC__
+#undef const
+#define const
+#endif
+
+extern int errno;
+extern char const * const sys_errlist[];
+extern /* const */ int sys_nerr;
+
+#ifdef __STDC__
+void perror (const char *);
+#else
+int perror ();
+#endif