summaryrefslogtreecommitdiffstats
path: root/sys/libkern
Commit message (Collapse)AuthorAgeFilesLines
* Do not install libkern into /usr/lib, blank target install: added.rgrimes1995-03-231-1/+3
|
* <libkern/libkern.h> has moved to <sys/libkern.h> (repository copy).phk1995-03-174-8/+8
| | | | | Since /usr/include/libkern doesn't and shouldn't exist, this is the least evil way to handle this.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-1/+3
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* Add inet_ntoa() and replace ARP's private routine with same.wollman1995-03-162-5/+54
|
* Add strncmp() function..I need it andugen1995-02-272-2/+58
| | | | hope nobody will eat me alive for this..:)
* Always build libkern_p.a. `NOPROFILE' should only control user libraries.bde1995-01-101-1/+3
|
* Hide the declaration of ffs() if an inline ffs() is implemented.bde1994-11-141-1/+3
| | | | | | | | | | | | | | I couldn't find a better way to avoid compiler warnings about redundant and/or inconsistent declaration of ffs(). I'd like to be able to declare prototypes in general headers without committing to implementing them as `static inline' or `extern', but there seems to be no way to do this with gcc-2.6.1. E.g., int foo(void); static __inline int foo(void) { return 1; } causes a warning about the linkage mismatch, while the opposite order causes a warning about the redundant declaration.
* I'm going to nuke strtol() for now. Now I need strncmp() and ratherjkh1994-10-261-2/+2
| | | | | | | that add it too, and end up fighting an unwanted battle right now, I'm just going to back away from both and start including my own private copies of everything. I'm not going to use _anything_ from libkern until we decide its fate.
* Add strtol() to libkern in support of some other work I'm doing.jkh1994-10-252-3/+131
| | | | | | I just know I'm going to get flamed for adding for the miserable abortion that is libkern, but what am I supposed to do? At least I didn't drag in the ctype stuff! :-)
* Use new-style declarations for min/max functions so thatbde1994-09-181-62/+11
| | | | | | | | | | | | | | | | "gcc -Wstrict-prototypes" doesn't emit warnings about them. Write each min/max functions on a single line so that the similarity and triviality of the functions is more obvious. Put the quad min/max functions in the correct place (aphabetical order). The u_quad min/max functions are missing. Only 3 or 4 of the min/max functions are actually used. sys/socketvar.h ``should use "lmin" but it doesn't exist now''. lmin does exist now, but isn't used. Since we depend on gcc for `inline', perhaps we should depend on it for __typeof and function-expressions and use only macros min() and max() that work for any types (I'm not sure how to handle mixed types).
* Added -DKERNEL and added support for kernel profiling.paul1994-09-152-3/+7
| | | | Reviewed by: Bruce
* Added qmin and qmax functions to deal with quad_t's.dg1994-08-301-1/+14
|
* Added $Id$dg1994-08-0235-108/+65
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-272-0/+251
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-2435-0/+2626
OpenPOWER on IntegriCloud