summaryrefslogtreecommitdiffstats
path: root/sbin/savecore
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-21 13:20:49 +0000
committerimp <imp@FreeBSD.org>2002-03-21 13:20:49 +0000
commitec2a00af74c8240f7fc6f03c84ad40034fbf2aac (patch)
tree7889a8c6dd8258adf78b1be9e93d2baefad6abb1 /sbin/savecore
parentbaca1664d961625b631ee7b6c1faf55e0f926aa9 (diff)
downloadFreeBSD-src-ec2a00af74c8240f7fc6f03c84ad40034fbf2aac.zip
FreeBSD-src-ec2a00af74c8240f7fc6f03c84ad40034fbf2aac.tar.gz
o remove __P
o remove main prototype
Diffstat (limited to 'sbin/savecore')
-rw-r--r--sbin/savecore/savecore.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index fb98316..9bde146 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -129,22 +129,22 @@ u_long kernbase; /* offset of kvm to core file */
int clear, compress, force, verbose; /* flags */
int keep; /* keep dump on device */
-void check_kmem __P((void));
-int check_space __P((void));
-void clear_dump __P((void));
-void DumpRead __P((int fd, void *bp, int size, off_t off, int flag));
-void DumpWrite __P((int fd, void *bp, int size, off_t off, int flag));
-int dump_exists __P((void));
-void find_dev __P((dev_t));
-int get_crashtime __P((void));
-void get_dumpsize __P((void));
-void kmem_setup __P((void));
-void Lseek __P((int, off_t, int));
-int Open __P((const char *, int rw));
-int Read __P((int, void *, int));
-void save_core __P((void));
-void usage __P((void));
-void Write __P((int, void *, int));
+void check_kmem(void);
+int check_space(void);
+void clear_dump(void);
+void DumpRead(int fd, void *bp, int size, off_t off, int flag);
+void DumpWrite(int fd, void *bp, int size, off_t off, int flag);
+int dump_exists(void);
+void find_dev(dev_t);
+int get_crashtime(void);
+void get_dumpsize(void);
+void kmem_setup(void);
+void Lseek(int, off_t, int);
+int Open(const char *, int rw);
+int Read(int, void *, int);
+void save_core(void);
+void usage(void);
+void Write(int, void *, int);
int
main(argc, argv)
OpenPOWER on IntegriCloud