summaryrefslogtreecommitdiff
path: root/usr.bin/top/machine.h
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 /usr.bin/top/machine.h
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 'usr.bin/top/machine.h')
-rw-r--r--usr.bin/top/machine.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/top/machine.h b/usr.bin/top/machine.h
index e5a5334eee2..15671cad50a 100644
--- a/usr.bin/top/machine.h
+++ b/usr.bin/top/machine.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: machine.h,v 1.2 1997/08/22 07:16:28 downsj Exp $ */
+/* $OpenBSD: machine.h,v 1.3 2002/02/16 21:27:55 millert Exp $ */
/*
* This file defines the interface between top and the machine-dependent
@@ -52,15 +52,15 @@ struct process_select
};
/* prototypes */
-extern int display_init __P((struct statics *));
+extern int display_init(struct statics *);
/* machine.c */
-extern int machine_init __P((struct statics *));
-extern char *format_header __P((char *));
-extern void get_system_info __P((struct system_info *));
+extern int machine_init(struct statics *);
+extern char *format_header(char *);
+extern void get_system_info(struct system_info *);
extern caddr_t get_process_info __P((struct system_info *,
struct process_select *,
int (*)(const void *, const void *)));
extern char *format_next_process __P((caddr_t, char *(*)()));
-extern int proc_compate __P((const void *, const void *));
-extern int proc_owner __P((pid_t));
+extern int proc_compate(const void *, const void *);
+extern int proc_owner(pid_t);