summaryrefslogtreecommitdiffstats
path: root/sbin/rcorder
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
committerkevlo <kevlo@FreeBSD.org>2007-11-07 10:53:41 +0000
commitfa3791e1a7df72dae386c39862c6dad9fb7a5304 (patch)
tree368b0b244e9ff1e4d1d1e563ee72dc5168999272 /sbin/rcorder
parent350f518402f17e189d71fde9dc889b50554369e6 (diff)
downloadFreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.zip
FreeBSD-src-fa3791e1a7df72dae386c39862c6dad9fb7a5304.tar.gz
Cleanup of userland __P use
Diffstat (limited to 'sbin/rcorder')
-rw-r--r--sbin/rcorder/ealloc.c3
-rw-r--r--sbin/rcorder/ealloc.h9
-rw-r--r--sbin/rcorder/hash.c3
-rw-r--r--sbin/rcorder/hash.h15
-rw-r--r--sbin/rcorder/rcorder.c42
5 files changed, 38 insertions, 34 deletions
diff --git a/sbin/rcorder/ealloc.c b/sbin/rcorder/ealloc.c
index 9accebe..a7cf6bc 100644
--- a/sbin/rcorder/ealloc.c
+++ b/sbin/rcorder/ealloc.c
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* $NetBSD: ealloc.c,v 1.1.1.1 1999/11/19 04:30:56 mrg Exp $ */
/*
@@ -50,7 +51,7 @@ __RCSID("$NetBSD: ealloc.c,v 1.1.1.1 1999/11/19 04:30:56 mrg Exp $");
#include "ealloc.h"
-static void enomem __P((void));
+static void enomem(void);
/*
* enomem --
diff --git a/sbin/rcorder/ealloc.h b/sbin/rcorder/ealloc.h
index fb753d5f..093ebc3 100644
--- a/sbin/rcorder/ealloc.h
+++ b/sbin/rcorder/ealloc.h
@@ -1,6 +1,7 @@
+/* $FreeBSD$ */
/* $NetBSD: ealloc.h,v 1.1.1.1 1999/11/19 04:30:56 mrg Exp $ */
-void *emalloc __P((size_t len));
-char *estrdup __P((const char *str));
-void *erealloc __P((void *ptr, size_t size));
-void *ecalloc __P((size_t nmemb, size_t size));
+void *emalloc(size_t len);
+char *estrdup(const char *str);
+void *erealloc(void *ptr, size_t size);
+void *ecalloc(size_t nmemb, size_t size);
diff --git a/sbin/rcorder/hash.c b/sbin/rcorder/hash.c
index 5ec335a..bc882b9 100644
--- a/sbin/rcorder/hash.c
+++ b/sbin/rcorder/hash.c
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* $NetBSD: hash.c,v 1.1.1.1 1999/11/19 04:30:56 mrg Exp $ */
/*
@@ -76,7 +77,7 @@ __RCSID("$NetBSD: hash.c,v 1.1.1.1 1999/11/19 04:30:56 mrg Exp $");
* defined:
*/
-static void RebuildTable __P((Hash_Table *));
+static void RebuildTable(Hash_Table *);
/*
* The following defines the ratio of # entries to # buckets
diff --git a/sbin/rcorder/hash.h b/sbin/rcorder/hash.h
index cf15256..fd2f978 100644
--- a/sbin/rcorder/hash.h
+++ b/sbin/rcorder/hash.h
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/* $NetBSD: hash.h,v 1.1.1.1 1999/11/19 04:30:56 mrg Exp $ */
/*
@@ -119,12 +120,12 @@ typedef struct Hash_Search {
#define Hash_Size(n) (((n) + sizeof (int) - 1) / sizeof (int))
-void Hash_InitTable __P((Hash_Table *, int));
-void Hash_DeleteTable __P((Hash_Table *));
-Hash_Entry *Hash_FindEntry __P((Hash_Table *, char *));
-Hash_Entry *Hash_CreateEntry __P((Hash_Table *, char *, Boolean *));
-void Hash_DeleteEntry __P((Hash_Table *, Hash_Entry *));
-Hash_Entry *Hash_EnumFirst __P((Hash_Table *, Hash_Search *));
-Hash_Entry *Hash_EnumNext __P((Hash_Search *));
+void Hash_InitTable(Hash_Table *, int);
+void Hash_DeleteTable(Hash_Table *);
+Hash_Entry *Hash_FindEntry(Hash_Table *, char *);
+Hash_Entry *Hash_CreateEntry(Hash_Table *, char *, Boolean *);
+void Hash_DeleteEntry(Hash_Table *, Hash_Entry *);
+Hash_Entry *Hash_EnumFirst(Hash_Table *, Hash_Search *);
+Hash_Entry *Hash_EnumNext(Hash_Search *);
#endif /* _HASH */
diff --git a/sbin/rcorder/rcorder.c b/sbin/rcorder/rcorder.c
index 5bf60cb..bf8e9fb 100644
--- a/sbin/rcorder/rcorder.c
+++ b/sbin/rcorder/rcorder.c
@@ -130,27 +130,27 @@ strnodelist *bl_list;
strnodelist *keep_list;
strnodelist *skip_list;
-void do_file __P((filenode *fnode));
-void strnode_add __P((strnodelist **, char *, filenode *));
-int skip_ok __P((filenode *fnode));
-int keep_ok __P((filenode *fnode));
-void satisfy_req __P((f_reqnode *rnode, char *filename));
-void crunch_file __P((char *));
-void parse_require __P((filenode *, char *));
-void parse_provide __P((filenode *, char *));
-void parse_before __P((filenode *, char *));
-void parse_keywords __P((filenode *, char *));
-filenode *filenode_new __P((char *));
-void add_require __P((filenode *, char *));
-void add_provide __P((filenode *, char *));
-void add_before __P((filenode *, char *));
-void add_keyword __P((filenode *, char *));
-void insert_before __P((void));
-Hash_Entry *make_fake_provision __P((filenode *));
-void crunch_all_files __P((void));
-void initialize __P((void));
-void generate_ordering __P((void));
-int main __P((int, char *[]));
+void do_file(filenode *fnode);
+void strnode_add(strnodelist **, char *, filenode *);
+int skip_ok(filenode *fnode);
+int keep_ok(filenode *fnode);
+void satisfy_req(f_reqnode *rnode, char *filename);
+void crunch_file(char *);
+void parse_require(filenode *, char *);
+void parse_provide(filenode *, char *);
+void parse_before(filenode *, char *);
+void parse_keywords(filenode *, char *);
+filenode *filenode_new(char *);
+void add_require(filenode *, char *);
+void add_provide(filenode *, char *);
+void add_before(filenode *, char *);
+void add_keyword(filenode *, char *);
+void insert_before(void);
+Hash_Entry *make_fake_provision(filenode *);
+void crunch_all_files(void);
+void initialize(void);
+void generate_ordering(void);
+int main(int, char *[]);
int
main(argc, argv)
OpenPOWER on IntegriCloud