aboutsummaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-21 13:20:49 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-21 13:20:49 +0000
commitd476a036e28a06aadb6a33050af920f3f99fbb8c (patch)
tree7889a8c6dd8258adf78b1be9e93d2baefad6abb1 /sbin/savecore/savecore.c
parent854299908ccfad3f3d42b5b24443e15bbc03471c (diff)
downloadsrc-d476a036e28a06aadb6a33050af920f3f99fbb8c.tar.gz
src-d476a036e28a06aadb6a33050af920f3f99fbb8c.zip
o remove __P
o remove main prototype
Notes
Notes: svn path=/head/; revision=92883
Diffstat (limited to 'sbin/savecore/savecore.c')
-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 fb98316885eb..9bde146360a3 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)