Commit Graph

146789 Commits

Author SHA1 Message Date
mrg
58d1fc7bc5 use -fno-strict-aliasing with GCC4. 2006-05-11 07:17:41 +00:00
mrg
c90e965e45 only do the previous for GCC4 2006-05-11 07:15:17 +00:00
mrg
fde08302e9 use -Wno-pointer-sign and -fno-strict-aliasing for now. 2006-05-11 07:13:24 +00:00
mrg
1eb16ad182 properly match char * with char * instead of u_char *. 2006-05-11 07:12:11 +00:00
mrg
9ef684e646 pass an array of gid_t, not int, to getgrouplist(). 2006-05-11 07:11:08 +00:00
mrg
0dc9fb54b5 u_char -> char in one place. 2006-05-11 07:08:40 +00:00
mrg
a7416240a5 add -fno-strict-aliasing when using GCC4. 2006-05-11 07:07:08 +00:00
mrg
3bf6d5997d since i2ostrvis() is passed always passed u_char *, make it so. 2006-05-11 07:02:01 +00:00
mrg
1fa98f5b05 - use socklen_t where appropriate
- avoid lvalue casts
2006-05-11 06:59:40 +00:00
gdamore
9ecc473358 A zero mask means that the device should always be enabled. 2006-05-11 06:35:55 +00:00
mrg
982b2b7938 char -> u_char for a buffer passed to MD5*(). 2006-05-11 06:09:44 +00:00
mrg
f145204eb2 XXX build with -Wno-pointer-sign and -fno-strict-aliasing when using GCC4. 2006-05-11 06:01:31 +00:00
gdamore
6594783dbb Add EDID framework. (No documentation as yet.)
This allows one to query monitors (or use BIOS EDID data) and learn their
default modes, etc.  To use this, pass an EDID data block edid_parse(), and
get back nicely parsed data, including precalculated modes using GTF, etc.

The result can be printed using edid_print().

Also, if you want to use GTF to generate modes without EDID, you can use the
vesagtf pseudo-device.  vesagtf.c can also be compiled as a standalone program
to generate XFree86 modelines.
2006-05-11 01:49:53 +00:00
mrg
35b9b80e28 build sshconnect1.c with -fno-strict-aliasing. 2006-05-11 01:26:03 +00:00
mrg
130d5d4569 call ctime() with an actual time_t *. 2006-05-11 01:25:23 +00:00
mrg
9588ebc6e5 u_long -> u_int in many places. i guess radioctl(1) was broken on sparc64. 2006-05-11 01:24:14 +00:00
mrg
0e223467a4 nfiles -> ns_nfiles (conflicts with kernel header files and _KERNEL.) 2006-05-11 01:23:20 +00:00
mrg
4a55b2ff97 exp() -> m4_exp(). 2006-05-11 01:22:20 +00:00
mrg
9ce2c843f8 maxfiles -> fstat_maxfiles. (this _KERNEL definition code needs to not
clash with kernel headers....)
2006-05-11 01:21:23 +00:00
mrg
70daf20d05 no need to cast setlocale()'s return value. 2006-05-11 01:20:33 +00:00
mrg
15aa4e8c07 use -Wno-pointer-sign for GCC4. 2006-05-11 01:19:55 +00:00
mrg
bc3f0566af variable signed/unsigned cleanup. 2006-05-11 01:19:10 +00:00
mrg
641014e847 initial wrapper for gmake-requiring tools. probably does not yet
work on all currently supported netbsd build hosts.

XXX current issues:
XXX	- calls /usr/bin/env -i directly, mostly to wipe-out MAKEFLAGS
XXX	  from the environment (usually set by the buildwrapper to
XXX	  "-de -m <path-to>/share/mk"
2006-05-11 01:17:53 +00:00
mrg
843978ed3a check HAVE_GCC == 4 not USE_GCC4. 2006-05-11 01:15:32 +00:00
mrg
82b8b3f44f #include <sys/protosw.h> for isosw[] extern. 2006-05-11 01:14:55 +00:00
mrg
22406ced78 ssize_t -> size_t to match variable and functions. 2006-05-11 01:13:44 +00:00
mrg
e012cb30a7 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:12:21 +00:00
mrg
79652075f7 ntfs_runtovrun takes u_int8_t * not caddr_t 2006-05-11 01:11:11 +00:00
mrg
06d7a2268d move gcc4 uninit warnings to the of the MI section. add pf.c 2006-05-11 01:10:13 +00:00
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