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
..
2008-10-22 21:56:57 +00:00
2010-01-31 14:51:04 +00:00
2009-12-05 18:55:16 +00:00
2005-11-23 15:41:36 +00:00
2007-02-11 18:14:49 +00:00
2009-11-25 04:45:45 +00:00
2009-11-25 04:45:45 +00:00
2009-03-04 01:01:26 +00:00
2009-03-04 01:01:26 +00:00
2009-11-02 12:35:38 +00:00
2008-10-23 15:32:06 +00:00
2010-02-02 19:44:51 +00:00
2010-01-20 11:59:46 +00:00
2008-03-13 10:26:17 +00:00
2008-03-13 10:25:30 +00:00
2010-01-23 12:48:46 +00:00
2007-01-20 08:24:02 +00:00
2009-05-07 13:49:48 +00:00
2009-05-07 13:49:48 +00:00
2010-01-24 14:44:05 +00:00
2010-01-17 15:43:14 +00:00
2007-10-30 15:26:20 +00:00
2006-04-18 21:37:24 +00:00
2009-11-25 04:45:45 +00:00