diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-06-09 13:10:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-06-09 13:10:20 +0000 |
commit | c185282e07c2dfb5c20e709d41c728d10c5b1d7e (patch) | |
tree | 89b8903c2c60572e9c0e707020eb353c157e05b0 /libexec/ld.so/i386 | |
parent | 6404a3579c03e2f97a6c2dc789e41410d1fb57cd (diff) |
Constify the mib argument of sysctl().
ok matthew@ millert@
Diffstat (limited to 'libexec/ld.so/i386')
-rw-r--r-- | libexec/ld.so/i386/syscall.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/i386/syscall.h b/libexec/ld.so/i386/syscall.h index e05d904708c..f6286866e94 100644 --- a/libexec/ld.so/i386/syscall.h +++ b/libexec/ld.so/i386/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.13 2013/06/01 20:50:37 guenther Exp $ */ +/* $OpenBSD: syscall.h,v 1.14 2013/06/09 13:10:19 miod Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -51,7 +51,7 @@ int _dl_fstat(int, struct stat *); int _dl_fcntl(int, int, ...); int _dl_getdirentries(int, char *, int, off_t *); int _dl_sigprocmask(int, const sigset_t *, sigset_t *); -int _dl_sysctl(int *, u_int, void *, size_t *, void *, size_t); +int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t); int _dl_gettimeofday(struct timeval *, struct timezone *); int _dl_readlink(const char *, char *, size_t); int _dl_lstat(const char *, struct stat *); |