summaryrefslogtreecommitdiff
path: root/lib/libcom_err
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /lib/libcom_err
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'lib/libcom_err')
-rw-r--r--lib/libcom_err/com_err.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libcom_err/com_err.h b/lib/libcom_err/com_err.h
index 642e51cdffe..af9ffff8f54 100644
--- a/lib/libcom_err/com_err.h
+++ b/lib/libcom_err/com_err.h
@@ -83,16 +83,16 @@ void free_error_table(struct et_list *);
#endif /* __COM_RIGHT_H__ */
-typedef void (*errf) __P((const char *, long, const char *, va_list));
+typedef void (*errf)(const char *, long, const char *, va_list);
-const char * error_message __P((long));
-int init_error_table __P((const char**, long, int));
+const char * error_message(long);
+int init_error_table(const char**, long, int);
-void com_err_va __P((const char *, long, const char *, va_list));
-void com_err __P((const char *, long, const char *, ...));
+void com_err_va(const char *, long, const char *, va_list);
+void com_err(const char *, long, const char *, ...);
-errf set_com_err_hook __P((errf));
-errf reset_com_err_hook __P((void));
+errf set_com_err_hook(errf);
+errf reset_com_err_hook(void);
const char *error_table_name(int num);