aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2000-01-14 18:28:23 +0000
committerBruce Evans <bde@FreeBSD.org>2000-01-14 18:28:23 +0000
commitc807777a43ef2b59786fa8a1a35c1f154fd069e5 (patch)
treebcecc27e88a91678b1b89a70b0010add5e22771a /contrib
parentf21a2e36733b494b2892ed2f81b52289f057315c (diff)
Notes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/com_err/com_err.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/contrib/com_err/com_err.h b/contrib/com_err/com_err.h
index 66421c82ec5e..19cf034d6840 100644
--- a/contrib/com_err/com_err.h
+++ b/contrib/com_err/com_err.h
@@ -37,22 +37,17 @@
*/
/* $Id: com_err.h,v 1.3 1998/05/02 20:13:28 assar Exp $ */
+/* $FreeBSD$ */
/* MIT compatible com_err library */
#ifndef __COM_ERR_H__
#define __COM_ERR_H__
-#ifdef __STDC__
-#include <stdarg.h>
-#endif
+#include <sys/cdefs.h>
-#ifndef __P
#ifdef __STDC__
-#define __P(X) X
-#else
-#define __P(X) ()
-#endif
+#include <stdarg.h>
#endif
#include <com_right.h>
@@ -68,6 +63,6 @@ void com_err __P((const char *, long, const char *, ...));
errf set_com_err_hook __P((errf));
errf reset_com_err_hook __P((void));
-const char *error_table_name(int num);
+const char *error_table_name __P((int num));
#endif /* __COM_ERR_H__ */