freebsd-nq/lib/libc
Ed Schouten 62399df2c9 Add proper const keywords to sysctl(3) parameters.
The `name' and `newp' arguments can be marked const, because the buffers
they refer to are never changed. While there, perform some other
cleanups:

- Remove K&R from sysctl.c.
- Implement sysctlbyname() using sysctlnametomib() to prevent
  duplication of an undocumented kernel interface.
- Fix some whitespace nits.

It seems the prototypes are now in sync with NetBSD as well.
2010-02-21 13:57:02 +00:00
..
amd64 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
arm Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
compat-43 Implement sighold, sigignore, sigpause, sigrelse, sigset functions 2009-11-26 13:49:37 +00:00
db Consider flag == 0 as the same of flag == R_NEXT. This change will restore 2009-08-24 23:44:07 +00:00
gdtoa Unbreak the build for arm and powerpc. 2008-04-12 14:53:52 +00:00
gen Add proper const keywords to sysctl(3) parameters. 2010-02-21 13:57:02 +00:00
gmon Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
i386 Remove hand-written labs/abs implementations. GCC is smart enough. 2009-06-23 09:04:59 +00:00
ia64 Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
include Use umtx to implement process sharable semaphore, to make this work, 2010-01-05 02:37:59 +00:00
inet Merge the resolver part of BIND 9.4.3 into HEAD. 2008-12-14 19:39:53 +00:00
isc
locale Fix grammar. 2009-11-16 14:33:31 +00:00
mips Reinstate the ptrace patch to restore the 'gp' register after calling 2010-02-04 05:49:59 +00:00
nameser This commit was generated by cvs2svn to compensate for changes in r174223, 2007-12-03 15:07:58 +00:00
net Remove extra semicolon. 2010-01-31 21:47:39 +00:00
nls - More style(9) fixups 2010-02-20 08:19:19 +00:00
posix1e s/APIS/APIs - not part of the original submission. 2010-02-11 19:20:06 +00:00
powerpc Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
quad
regex Fix an off-by-one error in the marking of the O_CH operator 2009-09-16 06:32:23 +00:00
resolv Add an option to enforce strict RFC 1034 compliance. 2009-05-29 07:34:54 +00:00
rpc Use the correct types to store uids and gids in the credential cache. 2010-01-09 23:36:51 +00:00
softfloat Reflect license change from NetBSD. 2009-03-10 21:13:26 +00:00
sparc64 Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
stdio %U was macroized in mdoc(7), escape. 2010-02-16 12:29:02 +00:00
stdlib Define TLS_MODEL for PowerPC as well. Since PowerPC uses variant I, 2010-02-16 20:46:22 +00:00
stdtime %U was macroized in mdoc(7), escape. 2010-02-16 12:29:02 +00:00
string Mark up "unsigned char". 2010-02-04 11:23:28 +00:00
sys Mention EISDIR as a possible errno. 2010-02-17 09:11:21 +00:00
uuid Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbols 2008-09-19 15:52:56 +00:00
xdr Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
yp Eliminate more dead stores. 2009-11-25 04:45:45 +00:00
Makefile Merge r195030 from project/mips to head by hand 2010-01-09 00:01:35 +00:00
Versions.def Bump our namespace version for 9.0. 2009-09-13 13:15:36 +00:00