summaryrefslogtreecommitdiff
path: root/usr.bin/tsort
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-17 19:42:41 +0000
commitd522f6eb0324008023fed0be4d046f3fc51b0356 (patch)
tree9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /usr.bin/tsort
parent1b433a7e5b43fe0dec72e100525e31299629c117 (diff)
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'usr.bin/tsort')
-rw-r--r--usr.bin/tsort/tsort.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tsort/tsort.c b/usr.bin/tsort/tsort.c
index 8deb52474f3..22154bfac9e 100644
--- a/usr.bin/tsort/tsort.c
+++ b/usr.bin/tsort/tsort.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tsort.c,v 1.12 2002/02/16 21:27:55 millert Exp $ */
+/* $OpenBSD: tsort.c,v 1.13 2002/02/17 19:42:33 millert Exp $ */
/* ex:ts=8 sw=4:
*/
@@ -132,8 +132,8 @@ static struct node *node_lookup(struct ohash *, const char *, const char *);
static void usage(void);
static struct node *new_node(const char *, const char *);
-static unsigned int read_pairs __P((FILE *, struct ohash *, int,
- const char *, unsigned int, int));
+static unsigned int read_pairs(FILE *, struct ohash *, int,
+ const char *, unsigned int, int);
static void split_nodes(struct ohash *, struct array *, struct array *);
static void make_transparent(struct ohash *);
static void insert_arc(struct node *, struct node *);
@@ -143,8 +143,8 @@ static void dump_node(struct node *);
static void dump_array(struct array *);
static void dump_hash(struct ohash *);
#endif
-static unsigned int read_hints __P((FILE *, struct ohash *, int,
- const char *, unsigned int));
+static unsigned int read_hints(FILE *, struct ohash *, int,
+ const char *, unsigned int);
static struct node *find_smallest_node(struct array *);
static struct node *find_good_cycle_break(struct array *);
static void print_cycle(struct array *);