Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/ps Add missing prototype so that this actually compiles.



details:   https://anonhg.NetBSD.org/src/rev/1aed2db4be53
branches:  trunk
changeset: 467708:1aed2db4be53
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Mar 27 15:22:17 1999 +0000

description:
Add missing prototype so that this actually compiles.

diffstat:

 bin/ps/procfs_ops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 0484cfed28d0 -r 1aed2db4be53 bin/ps/procfs_ops.c
--- a/bin/ps/procfs_ops.c       Sat Mar 27 15:01:34 1999 +0000
+++ b/bin/ps/procfs_ops.c       Sat Mar 27 15:22:17 1999 +0000
@@ -1,4 +1,4 @@
-/*  $NetBSD: procfs_ops.c,v 1.1 1999/03/26 22:36:02 bgrayson Exp $ */
+/*  $NetBSD: procfs_ops.c,v 1.2 1999/03/27 15:22:17 tron Exp $ */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -65,8 +65,8 @@
        }                               \
 }
 
-static int
-parsekinfo(const char *, struct kinfo_proc *);
+static int             parsekinfo __P((const char *, struct kinfo_proc *));
+struct kinfo_proc *    procfs_getprocs __P((int, int, int *));
 
 static int
 parsekinfo (path, kp)



Home | Main Index | Thread Index | Old Index