summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_getloadavg.c
Commit message (Collapse)AuthorAgeFilesLines
* libkvm code janitoringuqs2011-01-231-8/+5
| | | | | | | | | | | | - make WARNS=6 clean for archs w/o strict alignment requirments - add const, ANSIfy, remove unused vars, cast types for comparison - thanks to differing definitions of VM_MIN_ADDRESS across our archs, we need to trick the compiler to not complain about signedness. We could either fix VM_MIN_ADDRESS to always be a simple integer or make the check conditional on $ARCH. Closes PRs: kern/42386, kern/83364 Reviewed by: bde
* Remove the advertising clause. UCB did this some time ago, but theseimp2007-01-081-4/+0
| | | | | | files were never updated to reflect that. MFC After: 2 days
* Include sys/param.h instead of sys/types.h to get the definition of thejhb2001-11-201-1/+1
| | | | | | MIN() macro. Pointy hat to: rwatson
* o Cleanup of includes: user.h may be a catch-all, but that's notrwatson2001-11-191-4/+3
| | | | | | | entirely desirable. Back out previous commit, and clean up includes to be more minimal. Submitted by: bde
* #include <sys/user.h> rather than individually including a plethorarwatson2001-11-191-4/+1
| | | | | | | of kernel include files, reducing the replication of kernel include dependency information in userland. Obtained from: TrustedBSD Project
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-101-2/+0
|
* Implement __FBSDID()dillon2001-09-161-3/+3
|
* Compensate for header dethreading.markm2001-05-011-0/+2
|
* Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb jugglingpeter1999-12-271-1/+5
| | | | | | and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist struct is pretty crude but seems to work well enough for all the users in the tree that I found.
* General -Wall warning cleanup, part I.jkh1996-07-121-0/+1
| | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu>
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+105
OpenPOWER on IntegriCloud