christos
efb6943313
- add const.
...
- remove unnecessary casts.
- add __UNCONST casts and mark them with XXXUNCONST as necessary.
2005-05-29 22:24:14 +00:00
perry
da8abec863
nuke trailing whitespace
2005-02-26 21:34:55 +00:00
simonb
16846040d7
Remove trailing blank line.
2003-12-21 11:54:16 +00:00
itojun
6213663758
avoid constant, use sizeof
...
[not sure about string termination here, so leave strncpy untouched]
2003-05-17 03:12:08 +00:00
itojun
f265a4a4da
use strlcpy. [fixed off-by-one in subr_prop.c]
2003-05-16 14:25:02 +00:00
thorpej
b193480908
Add extensible malloc types, adapted from FreeBSD. This turns
...
malloc types into a structure, a pointer to which is passed around,
instead of an int constant. Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.
2003-02-01 06:23:35 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
4bec56201d
Fix signed/unsigned comparison warnings from GCC 3.3.
2002-08-25 22:51:05 +00:00
mjacob
ad97873103
size_t is a long on alpha. I forget whether there's actually a 'best'
...
kernel printf format arg to print size_t in NetBSD, but coercing the
arg to long probably works well enough.
2002-03-16 22:44:41 +00:00
eeh
8bf657ddf1
Don't forget to allocate space for the property name's trailing NUL.
2002-03-15 20:33:50 +00:00
lukem
adc783d537
add RCSIDs
2001-11-12 15:25:01 +00:00
eeh
c824ea9b57
Remove the property sysctl interface for now.
2001-10-05 19:05:05 +00:00
pooka
11d8d4dae9
add casts to debug printfs to make this compile on archs where
...
size_t is of type int
2001-10-05 12:55:24 +00:00
eeh
e1bd5ac110
Add generic properties.
2001-10-04 18:56:06 +00:00