sys___sysctl: regularize argument struct
Let makesyscalls generate the normal struct __sysctl_args structure. It works fine. Reviewed by: kib
This commit is contained in:
parent
97e4bec56d
commit
d8bd949beb
@ -2310,7 +2310,7 @@ sysctl_root(SYSCTL_HANDLER_ARGS)
|
||||
}
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
struct sysctl_args {
|
||||
struct __sysctl_args {
|
||||
int *name;
|
||||
u_int namelen;
|
||||
void *old;
|
||||
@ -2320,7 +2320,7 @@ struct sysctl_args {
|
||||
};
|
||||
#endif
|
||||
int
|
||||
sys___sysctl(struct thread *td, struct sysctl_args *uap)
|
||||
sys___sysctl(struct thread *td, struct __sysctl_args *uap)
|
||||
{
|
||||
int error, i, name[CTL_MAXNAME];
|
||||
size_t j;
|
||||
|
@ -1198,7 +1198,7 @@
|
||||
_In_reads_bytes_opt_(newlen) const void *new,
|
||||
size_t newlen
|
||||
);
|
||||
} __sysctl sysctl_args int
|
||||
}
|
||||
203 AUE_MLOCK STD|CAPENABLED {
|
||||
int mlock(
|
||||
_In_ const void *addr,
|
||||
|
Loading…
Reference in New Issue
Block a user