Commit Graph

146844 Commits

Author SHA1 Message Date
mrg
c23edde436 inet_ntop() wants char[] not u_char[]. 2006-05-11 08:37:24 +00:00
mrg
9aae0c27f9 u_char -> char for several things:
- inet_ntop()
- if_indextoname()
- variable assignment matching
char -> u_char in one place for variable assignment matching
2006-05-11 08:35:47 +00:00
martti
0f3d8a43c2 Make sure IPF can correctly pullup short headers. Patch received from
darrenr@. This fixes kern/33423.
2006-05-11 07:37:09 +00:00
mrg
5b2e2e784b use -fno-strict-aliasing for dump.c with GCC4 2006-05-11 07:20:19 +00:00
mrg
8f1fc6cc86 use -fno-strict-aliasing for utils.c with GCC4 2006-05-11 07:19:33 +00:00
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