De-__P kernel prototypes.
This commit is contained in:
parent
be5fa8128f
commit
2fb6ef500e
@ -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 @@ extern struct ctldebug debug15, debug16, debug17, debug18, debug19;
|
||||
* 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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user