hubertf
44ca4086fb
Move #include <sys/param.h> that's included in both parts of an #if/#else
...
into one place outside the condition.
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:49:22 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
hubertf
142c2a33ba
Remove duplicate #includes, patch contributed in private mail
...
by Slava Semushin <slava.semushin@gmail.com>.
To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".
Thanks to martin@ for the input on testing.
2007-01-24 13:08:11 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
dogcow
f2d329dca0
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
2006-09-07 02:40:31 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
perry
bcfcddbac1
nuke trailing whitespace
2005-02-26 22:31:44 +00:00
matt
fd2a977729
Add #include "opt_iso.h" if not already there.
...
Make these compile cleanly when TPCONS is defined.
2004-04-21 23:19:49 +00:00
matt
a87928f350
ANSI'fy, de-__P(), and constify some read-only data.
2004-04-19 05:16:45 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
lukem
4f2ad95259
add RCSIDs
2001-11-13 00:56:55 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
augustss
8529438fe6
Remove register declarations.
2000-03-30 12:51:13 +00:00
itojun
6b56aad85e
more careful about AF on ctlinput. (saw panic in the past with kame/netbsd141)
2000-02-26 16:10:31 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
christos
5545959d0b
backout previous kprintf changes
1996-10-13 02:03:00 +00:00
christos
6d7ad25bea
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:12:43 +00:00
christos
1c2a80cfe3
add another missing prototype with TPCONS is not defined.
1996-02-14 21:32:37 +00:00
christos
2d4af9a7f8
netiso prototypes and fixes to get -DTUBA to compile.
1996-02-13 22:07:57 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
mycroft
c427e65091
Update to 4.4-Lite networking code, with a few local changes.
1994-05-13 06:08:03 +00:00
mycroft
477bf7cb90
Canonicalize all #includes.
1993-12-18 04:54:21 +00:00
mycroft
95b048b53a
Canonicalize all #includes.
1993-12-18 00:40:47 +00:00
cgd
b3ab33bca9
file header cleanup and rcsid additions
1993-05-20 05:26:42 +00:00
cgd
db622a7428
added netccitt, netiso, and netns support, from (currently
...
alpha) patch 126
1993-04-09 12:00:07 +00:00