constify the __sysctl() kernel side

This commit is contained in:
drochner 2006-02-24 19:20:20 +00:00
parent 998a8ba3e2
commit e4c5c3aea6
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.150 2005/11/29 22:52:02 yamt Exp $ $NetBSD: syscalls.master,v 1.151 2006/02/24 19:20:20 drochner Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@ -411,8 +411,8 @@
200 STD { int sys_truncate(const char *path, int pad, \ 200 STD { int sys_truncate(const char *path, int pad, \
off_t length); } off_t length); }
201 STD { int sys_ftruncate(int fd, int pad, off_t length); } 201 STD { int sys_ftruncate(int fd, int pad, off_t length); }
202 STD { int sys___sysctl(int *name, u_int namelen, \ 202 STD { int sys___sysctl(const int *name, u_int namelen, \
void *old, size_t *oldlenp, void *new, \ void *old, size_t *oldlenp, const void *new, \
size_t newlen); } size_t newlen); }
203 STD { int sys_mlock(const void *addr, size_t len); } 203 STD { int sys_mlock(const void *addr, size_t len); }
204 STD { int sys_munlock(const void *addr, size_t len); } 204 STD { int sys_munlock(const void *addr, size_t len); }