Source-Changes-HG archive

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

[src/trunk]: src/sys/sys De-__P kernel prototypes.



details:   https://anonhg.NetBSD.org/src/rev/e775e6515646
branches:  trunk
changeset: 512308:e775e6515646
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Jul 09 10:25:21 2001 +0000

description:
De-__P kernel prototypes.

diffstat:

 sys/sys/sysctl.h |  54 +++++++++++++++++++++++-------------------------------
 1 files changed, 23 insertions(+), 31 deletions(-)

diffs (75 lines):

diff -r 2e5e6483e97a -r e775e6515646 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h  Mon Jul 09 09:27:18 2001 +0000
+++ b/sys/sys/sysctl.h  Mon Jul 09 10:25:21 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.h,v 1.64 2001/07/02 20:48:31 jdolecek Exp $     */
+/*     $NetBSD: sysctl.h,v 1.65 2001/07/09 10:25:21 simonb Exp $       */
 
 /*
  * Copyright (c) 1989, 1993
@@ -634,43 +634,35 @@
  * the name.
  */
 typedef int (sysctlfn)
-    __P((int *, u_int, void *, size_t *, void *, size_t, struct proc *));
+    (int *, u_int, void *, size_t *, void *, size_t, struct proc *);
 
-int sysctl_int __P((void *, size_t *, void *, size_t, int *));
-int sysctl_rdint __P((void *, size_t *, void *, int));
-int sysctl_quad __P((void *, size_t *, void *, size_t, quad_t *));
-int sysctl_rdquad __P((void *, size_t *, void *, quad_t));
-int sysctl_string __P((void *, size_t *, void *, size_t, char *, int));
-int sysctl_rdstring __P((void *, size_t *, void *, const char *));
-int sysctl_struct __P((void *, size_t *, void *, size_t, void *, int));
-int sysctl_rdstruct __P((void *, size_t *, void *, const void *, int));
-int sysctl_rdminstruct __P((void *, size_t *, void *, const void *, int));
-struct radix_node;
-struct walkarg;
-int sysctl_clockrate __P((void *, size_t *));
-int sysctl_vnode __P((char *, size_t *, struct proc *));
-int sysctl_ntptime __P((void *, size_t *));
+int sysctl_int(void *, size_t *, void *, size_t, int *);
+int sysctl_rdint(void *, size_t *, void *, int);
+int sysctl_quad(void *, size_t *, void *, size_t, quad_t *);
+int sysctl_rdquad(void *, size_t *, void *, quad_t);
+int sysctl_string(void *, size_t *, void *, size_t, char *, int);
+int sysctl_rdstring(void *, size_t *, void *, const char *);
+int sysctl_struct(void *, size_t *, void *, size_t, void *, int);
+int sysctl_rdstruct(void *, size_t *, void *, const void *, int);
+int sysctl_rdminstruct(void *, size_t *, void *, const void *, int);
+int sysctl_clockrate(void *, size_t *);
+int sysctl_vnode(char *, size_t *, struct proc *);
+int sysctl_ntptime(void *, size_t *);
 #ifdef GPROF
-int sysctl_doprof __P((int *, u_int, void *, size_t *, void *, size_t));
+int sysctl_doprof(int *, u_int, void *, size_t *, void *, size_t);
 #endif
-int sysctl_dombuf __P((int *, u_int, void *, size_t *, void *, size_t));
+int sysctl_dombuf(int *, u_int, void *, size_t *, void *, size_t);
 
-void fill_eproc __P((struct proc *, struct eproc *));
+void fill_eproc(struct proc *, struct eproc *);
 
-int kern_sysctl __P((int *, u_int, void *, size_t *, void *, size_t,
-                    struct proc *));
-int hw_sysctl __P((int *, u_int, void *, size_t *, void *, size_t,
-                  struct proc *));
-int proc_sysctl __P((int *, u_int, void *, size_t *, void *, size_t,
-                    struct proc *));
+int kern_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
+int hw_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
+int proc_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
 #ifdef DEBUG
-int debug_sysctl __P((int *, u_int, void *, size_t *, void *, size_t,
-                     struct proc *));
+int debug_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
 #endif
-int net_sysctl __P((int *, u_int, void *, size_t *, void *, size_t,
-                   struct proc *));
-int cpu_sysctl __P((int *, u_int, void *, size_t *, void *, size_t,
-                   struct proc *));
+int net_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
+int cpu_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *);
 
 /* ddb_sysctl() declared in ddb_var.h */
 



Home | Main Index | Thread Index | Old Index