mrg
84ab62db88
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-11 01:08:38 +00:00
mrg
1e7e4f5c0c
caddr_t -> u_char *, to match the variable type
2006-05-11 01:08:19 +00:00
mrg
5755809507
- include <sys/selinfo.h> on BSD, for ipfselwait[].
...
- mask off the bits that don't fit in IP_HL_A().
2006-05-11 01:07:01 +00:00
mrg
8a90e2b19f
don't try to #define bus_space_read_1() if defined(sparc).
2006-05-11 01:02:59 +00:00
mrg
ea9579cbb2
don't declare ahc_pci_ident_table[] and ahc_num_pci_devs extern, they aren't.
2006-05-11 01:02:15 +00:00
mrg
43463a5acc
cast to (socklen_t *) where appropriate.
2006-05-11 01:01:13 +00:00
mrg
a07ab709de
cast to (lwpid_t *) where appropriate.
2006-05-11 01:00:43 +00:00
mrg
de67006891
cast to (socklen_t *) where appropriate.
2006-05-11 01:00:02 +00:00
mrg
f068df14bb
use socklen_t where appropriate.
2006-05-11 00:59:10 +00:00
mrg
13e3bbe4e1
add an extra (uintptr_t) cast to NETBSD32TOP.
2006-05-11 00:58:25 +00:00
mrg
cec5302033
don't shadow the kernel's devsw unnecessarily.
2006-05-11 00:48:44 +00:00
mrg
1515025461
avoid pointer sign mismatches.
2006-05-11 00:48:05 +00:00
mrg
8154510479
for now, turn on -fno-strict-aliasing for GCC4.
2006-05-11 00:46:57 +00:00
mrg
19b4ae1a8b
remove extern for unused ifr6.
2006-05-11 00:46:02 +00:00
mrg
c2d7663a8e
__b64_pton() wants unsigned char *.
2006-05-11 00:42:08 +00:00
mrg
41093909e9
HMAC() wants unsigned int pointer for the final argument; make it so.
2006-05-11 00:40:54 +00:00
mrg
ec0b42887d
build w_cabs.c/w_cabsf.c with -fno-builtin-cabs[f]
...
XXX: our cabs()/cabsf() are different to others.
2006-05-11 00:37:53 +00:00
mrg
fd07545586
in makecontext(), sp is unsigned * so don't assign signed *'s to it.
2006-05-11 00:34:44 +00:00
mrg
c7dc676533
cast the functions assignments for gnu_v3_abi_ops.is_destructor_name
...
and gnu_v3_abi_ops.is_constructor_name as appropriate.
2006-05-11 00:32:21 +00:00
mrg
a8177e2129
use socklen_t where appropriate.
2006-05-11 00:27:27 +00:00
mrg
4bc6feceb6
end the argument list to exec*(3) with a NULL instead of a bare '0', as
...
the latter isn't a pointer context in these varargs functions.
2006-05-11 00:22:52 +00:00
mrg
8e969ac070
UC, PC and BC are provided my libtermcap, don't duplicate them.
2006-05-11 00:18:31 +00:00
mrg
bb1dac937d
avoid a pointer sign difference.
2006-05-11 00:17:07 +00:00
mrg
e8a328732c
include <bsd.own.mk> before <bsd.sys.mk>.
2006-05-11 00:15:17 +00:00
mrg
0fa82c2792
move the extern for clktypes[]'s somewhere it's type is defined.
2006-05-11 00:11:25 +00:00
mrg
ebd6722e04
ctl_trap[] is not public so don't extern it.
2006-05-11 00:10:54 +00:00
mrg
0eaf0f8b7c
#include <sys/param.h> since we want to check __NetBSD_Version__.
2006-05-11 00:08:44 +00:00
mrg
965a873335
avoid lvalue casts.
2006-05-11 00:05:45 +00:00
mrg
4d2c417597
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-11 00:04:07 +00:00
lukem
366e1460da
Add -n to the usage message.
...
Noted by Maxim Konovalov <maxim@macomnet.ru>.
2006-05-10 23:35:03 +00:00
mrg
89318da5dd
add the build framework for in-tree GCC4 libraries, and the mknative
...
output for i386, sparc64 and powerpc.
2006-05-10 22:53:49 +00:00
mrg
ef37f7a679
add the build framework for in-tree GCC4 programs, and the mknative
...
output for i386, sparc64 and powerpc.
2006-05-10 22:48:11 +00:00
rpaulo
12d9aaea8c
PR 33462: default maxinterval was not being initialized properly.
...
From Matthias Scheller.
From KAME sources.
2006-05-10 22:30:33 +00:00
mrg
d7d8d3b134
document the bogus GCC4 uninitialised warning fixes.
2006-05-10 21:54:58 +00:00
mrg
084c052803
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
mrg
67c9075410
rename clog to sup_clog. (ugh. we don't even have clog())
2006-05-10 21:45:40 +00:00
mrg
2ed99b6c90
need <stdlib.h> for exit(3).
2006-05-10 21:34:20 +00:00
bouyer
2b90da4613
Fix NULL pointer deref when a backend switches to closing without
...
have been connected.
Make sure we connect only once; avoid getting disk attached multiple times
when there are multiple block devices configured (the xenbus seems to call
the callbacks for all xbd when each of them comes up).
2006-05-10 21:31:49 +00:00
mrg
4d375f236f
rename exp2() to csh_exp2(). (bah, we don't even have an exp2())
2006-05-10 21:14:48 +00:00
mrg
9f88f12295
add __BEGIN_DECLS/__END_DECLS around snprintf() & vsnprintf() prototypes.
2006-05-10 21:09:45 +00:00
garbled
4ea28c9a6f
enable raid in GENERIC. it works.
2006-05-10 19:25:31 +00:00
mrg
03593f4470
#include <stdlib.h>.
2006-05-10 19:11:50 +00:00
mrg
37d2b2a6e9
use socklen_t where appropriate.
2006-05-10 19:10:09 +00:00
mrg
26e4f3cc1c
extent_alloc_subregion1()'s 9th argument is a u_long *, not long *.
2006-05-10 19:09:11 +00:00
mrg
b141b31103
include <string.h>, <stdio.h> and <stdlib.h> as appropriate.
2006-05-10 19:07:22 +00:00
perseant
49b22a9fa1
Fix yesterday's patch: use the correct field when printing partial segment
...
creation time in the version > 1 case.
2006-05-10 18:47:45 +00:00
garbled
a83699fcd9
add MEMORY_DISK_SERVER=0. only saves 600bytes. lame.
2006-05-10 18:40:33 +00:00
garbled
2ed4156891
Add conv=sync so it doesn't "fail" when doing the dd.
2006-05-10 18:22:28 +00:00
garbled
f32de2a8cc
Enable a few options from i386's INSTALL_SMALL that save as much space as
...
possible. I think this should save about 10k on prep's bootfloppies.
2006-05-10 17:53:12 +00:00
garbled
cd01d819fb
Move PCI_NETBSD_CONFIGURE to std.prep. Add *.local files like i386 has.
2006-05-10 17:28:41 +00:00