aboutsummaryrefslogtreecommitdiff
path: root/contrib/com_err
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2000-01-14 18:51:30 +0000
committerBruce Evans <bde@FreeBSD.org>2000-01-14 18:51:30 +0000
commit1e2904b73e3142d38dab2c43ecf163f672a74a7d (patch)
tree5611726de94188626332e175428a44ea18c4f45a /contrib/com_err
parent1ef4c904b6a767032ce6e36bebd9e3a8a8544d31 (diff)
downloadsrc-1e2904b73e3142d38dab2c43ecf163f672a74a7d.tar.gz
src-1e2904b73e3142d38dab2c43ecf163f672a74a7d.zip
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).
Notes
Notes: svn path=/head/; revision=55986
Diffstat (limited to 'contrib/com_err')
-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 d89c5726c4ac..c329bced9785 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__ */