drochner
e6b49c7863
move intoa() from libsa:net.c to libkern, turn inet_ntoa() into a macro,
...
nuke ip_convertaddr()
1999-05-07 14:49:52 +00:00
drochner
b6ab6f5dc1
This was an n_long, not u_long, so u_int32_t is correct.
1999-04-12 17:23:23 +00:00
ross
4634c0e3d4
libkern just got an inet_addr(), but it won't compile, no prototype. Cleanup...
...
* Add prototype to libkern.h.
* Remove the almost-identical-copy from libsa/net.[ch].
* Change its type back to the (wrong, but harmless) historical one. (u_long)
* Kill the XXX local prototype in nfs_bootparam.c
1999-04-12 01:05:01 +00:00
perry
2b8a659f68
make libkern build memmove() properly
1998-07-31 23:44:41 +00:00
christos
16a9632e4d
Add a small string pattern matching function to facilitate pcmcia cis string
...
matches.
1998-06-21 18:43:35 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
mycroft
8ad4f24f50
Add memcpy() and memset(), and sort.
1998-02-22 09:18:38 +00:00
thorpej
529b95c8d9
Add offsetof().
1998-01-28 02:22:14 +00:00
drochner
7e5c045bb6
remove prototypes for deprecated index() and rindex()
1998-01-23 12:56:39 +00:00
drochner
8968860bab
add prototype for index()
1998-01-22 15:42:24 +00:00
cgd
0bc1621f94
add strrchr
1998-01-21 21:16:52 +00:00
mjacob
23a59f497a
Add missing NULL define for KERNEL case and prototype into libkern.h.
1997-10-24 18:10:30 +00:00
cgd
6ac982f2a0
mark prototypes for static inline functions as possibly unused (with
...
__attribute__ ((unused))), to avoid generating warnings when compiling
without optimization but with most ports' default warning flags.
1997-07-07 22:45:34 +00:00
drochner
aab2edd1d4
Add prototype for bzero() (since it is implemented here).
1997-06-13 14:27:04 +00:00
cgd
d867ed50cc
add strchr() to libkern. strchr.c copied from libc's "index.c", but with
...
appropriate definitions so that it'll build strchr(), and so that it builds
correctly in libkern (needed to #define NULL).
1997-01-18 02:33:38 +00:00
cgd
bba547e063
second and third args to scanc() (string and table) are not and should not
...
be modified. Make them 'const'.
1996-10-24 23:50:31 +00:00
cgd
788923c1ab
add a missing #else, pointed out by Wolfgang Solfrank
1996-09-22 16:23:31 +00:00
cgd
bdbfa48c0b
Add machine-independent assertion-checking support. macros are:
...
assert() which always does assertion checking
unless "NDEBUG" is defined.
KASSERT() which does assertion checking if DIAGNOSTIC
is defined.
KDASSERT() which does assertion checking if DEBUG is
define. This macro exists for compatibility
with existing ports' assertion checking macros.
(Assertion checking is not typically an
"expensive" operation, and DIAGNOSTIC should be
used for inexpensive consistency checks.)
1996-08-27 00:44:20 +00:00
cgd
352d972c94
locc() is unused. Remove it from the machine-independent kernel interface.
1996-06-10 15:33:33 +00:00
christos
fb901eb966
- Add missing prototypes
...
- Bring prototypes into scope
- Correct prototype for skpc
1996-03-14 18:52:03 +00:00
christos
1cb0b13391
Add declaration of strncasecmp.
1996-02-13 23:48:26 +00:00
leo
230fb12a7a
Add abs() function as an 'inline'. The atari-port needs it since the
...
-fno-builtin is used in the kernel Makefile.
1995-09-23 20:35:47 +00:00
cgd
26fbf3bbb8
prototype inline functions, almost as suggested by Jonathan Stone in PR 1258.
1995-08-14 05:43:24 +00:00
cgd
aa9eacdd59
new RCS ID format.
1994-10-26 06:39:02 +00:00
cgd
d7fc64af84
don't use inline, use __inline, like cdefs intends (so it can kill it if nongcc
1994-07-15 22:29:22 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00