aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_log.c
Commit message (Collapse)AuthorAgeFilesLines
* Quiet a couple of -Wunused warnings.Garrett Wollman1996-07-091-1/+3
| | | | Notes: svn path=/head/; revision=17040
* Fixed name of /dev/fs/klog (it's not "log").Bruce Evans1996-03-271-3/+4
| | | | | | | Submitted by: "Marc G. Fournier" <scrappy@ki.net> and edited by me Notes: svn path=/head/; revision=14851
* A Major staticize sweep. Generates a couple of warnings that I'll dealPoul-Henning Kamp1995-12-141-2/+2
| | | | | | | | | with later. A number of unused vars removed. A number of unused procs removed or #ifdefed. Notes: svn path=/head/; revision=12819
* Julian forgot to make the *devsw structures static.Poul-Henning Kamp1995-12-081-2/+2
| | | | Notes: svn path=/head/; revision=12678
* Pass 3 of the great devsw changesJulian Elischer1995-12-081-26/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :) Notes: svn path=/head/; revision=12675
* Completed function declarations and/or added prototypes.Bruce Evans1995-12-021-1/+2
| | | | Notes: svn path=/head/; revision=12577
* If you're going to mechanically replicate something in 50 filesJulian Elischer1995-11-291-2/+2
| | | | | | | it's best to not have a (compiles cleanly) typo in it! (sigh) Notes: svn path=/head/; revision=12521
* OK, that's it..Julian Elischer1995-11-291-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | That's EVERY SINGLE driver that has an entry in conf.c.. my next trick will be to define cdevsw[] and bdevsw[] as empty arrays and remove all those DAMNED defines as well.. Each of these drivers has a SYSINIT linker set entry that comes in very early.. and asks teh driver to add it's own entry to the two devsw[] tables. some slight reworking of the commits from yesterday (added the SYSINIT stuff and some usually wrong but token DEVFS entries to all these devices. BTW does anyone know where the 'ata' entries in conf.c actually reside? seems we don't actually have a 'ataopen() etc... If you want to add a new device in conf.c please make sure I know so I can keep it up to date too.. as before, this is all dependent on #if defined(JREMOD) (and #ifdef DEVFS in parts) Notes: svn path=/head/; revision=12517
* Second batch of cleanup changes.Poul-Henning Kamp1995-10-291-3/+1
| | | | | | | | This time mostly making a lot of things static and some unused variables here and there. Notes: svn path=/head/; revision=11921
* Made msgbuf range checking more robust and clean.David Greenman1995-08-071-15/+2
| | | | Notes: svn path=/head/; revision=9979
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8876
* Bruce is right - ENOTTY is more appropriate than EINVAL in this case.Jordan K. Hubbard1995-04-291-2/+2
| | | | Notes: svn path=/head/; revision=8161
* fixes the ioctl routine to not chew up massive amounts of kernel timeJordan K. Hubbard1995-04-291-2/+2
| | | | | | | | | if an invalid ioctl is done on /dev/klog. logioctl() needs to return an errno instead of -1 on a failed ioctl. Submitted by: Mike Pritchard <mpp@mpp.com> Notes: svn path=/head/; revision=8159
* All of this is cosmetic. prototypes, #includes, printfs and so on. MakesPoul-Henning Kamp1994-10-021-1/+2
| | | | | | | GCC a lot more silent. Notes: svn path=/head/; revision=3308
* While in the real world, I had a bad case of being swapped out for a lot ofPoul-Henning Kamp1994-09-251-4/+4
| | | | | | | | | | | cycles. While waiting there I added a lot of the extra ()'s I have, (I have never used LISP to any extent). So I compiled the kernel with -Wall and shut up a lot of "suggest you add ()'s", removed a bunch of unused var's and added a couple of declarations here and there. Having a lap-top is highly recommended. My kernel still runs, yell at me if you kernel breaks. Notes: svn path=/head/; revision=3098
* Added $Id$David Greenman1994-08-021-0/+1
| | | | Notes: svn path=/head/; revision=1817
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.Rodney W. Grimes1994-05-251-0/+6
| | | | | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman Notes: svn path=/head/; revision=1549
* BSD 4.4 Lite Kernel SourcesRodney W. Grimes1994-05-241-0/+232
Notes: svn path=/head/; revision=1541