summaryrefslogtreecommitdiffstats
path: root/contrib/com_err/com_right.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-01-14 18:51:30 +0000
committerbde <bde@FreeBSD.org>2000-01-14 18:51:30 +0000
commitedcb4e358c5b9436a518bbcf63649919f764b3ac (patch)
tree5cb648388b27bcd43baabbc82095b319967ada84 /contrib/com_err/com_right.h
parent5c3acbcb23e2fd54a6531a4135babfac9450cc54 (diff)
downloadFreeBSD-src-edcb4e358c5b9436a518bbcf63649919f764b3ac.zip
FreeBSD-src-edcb4e358c5b9436a518bbcf63649919f764b3ac.tar.gz
Fixed bitrot in K&R support (3 missing __P(())'s defeated the point of 7
non-missing ones in <com_err.h> which includes this file).
Diffstat (limited to 'contrib/com_err/com_right.h')
-rw-r--r--contrib/com_err/com_right.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/com_err/com_right.h b/contrib/com_err/com_right.h
index d89c572..c329bce 100644
--- a/contrib/com_err/com_right.h
+++ b/contrib/com_err/com_right.h
@@ -37,10 +37,13 @@
*/
/* $Id: com_right.h,v 1.8 1998/02/17 21:19:43 bg Exp $ */
+/* $FreeBSD$ */
#ifndef __COM_RIGHT_H__
#define __COM_RIGHT_H__
+#include <sys/cdefs.h>
+
struct error_table {
char const * const * msgs;
long base;
@@ -52,8 +55,9 @@ struct et_list {
};
extern struct et_list *_et_list;
-const char *com_right(struct et_list *list, long code);
-void initialize_error_table_r(struct et_list **, const char **, int, long);
-void free_error_table(struct et_list *);
+const char *com_right __P((struct et_list *list, long code));
+void initialize_error_table_r __P((struct et_list **, const char **, int,
+ long));
+void free_error_table __P((struct et_list *));
#endif /* __COM_RIGHT_H__ */
OpenPOWER on IntegriCloud