Commit Graph

146815 Commits

Author SHA1 Message Date
yamt
060eacec48 #include a necessary header directly, rather than via user.h. 2006-05-11 12:00:20 +00:00
yamt
49cee5da7c #include a necessary header directly, rather than via user.h.
while i'm here, remove unnecessary #include.
2006-05-11 11:58:04 +00:00
yamt
2416177358 tweak for user.h cleanup.
while i'm here, remove unnecessary #include.
2006-05-11 11:56:38 +00:00
yamt
f5ff7e4897 cleanup user.h.
- remove several #include which are not directly related to
  this header anymore.  tweak *.c accordingly.
- update comments.
- move some !_KERNEL #include to proc.h because it's more appropriate
  place these days.
- whitespace.
2006-05-11 11:54:36 +00:00
mrg
f8418c0954 use socklen_t where appropriate. 2006-05-11 11:54:14 +00:00
mrg
c92f14aaa2 include "rcv.h" so that extern array types are well-known. 2006-05-11 10:45:48 +00:00
tron
203b156add Include "bsd.own.mk" to get the definition of "HAVE_GCC". 2006-05-11 10:32:37 +00:00
mrg
9b8d2ce51a s/register//. apply some more "const" to avoid GCC4 warnings. 2006-05-11 10:29:04 +00:00
mrg
524d5f27c4 lrint() -> larn_lrint(). 2006-05-11 10:23:24 +00:00
mrg
3d0c01fd3e document the GCC4 pointer sign and strict aliasing problems (so far.) 2006-05-11 09:39:58 +00:00
mrg
d1e102b605 match u_char * with u_char[]. 2006-05-11 09:29:39 +00:00
mrg
3394a47b32 move is_zone initialisation earlier to avoid a GCC warning. 2006-05-11 09:28:45 +00:00
mrg
54e9f4ccbc wait_until_can_do_something() wants u_int * for it's 4th argument. 2006-05-11 09:27:06 +00:00
mrg
86533d64ca sprinkle some -fno-strict-aliasing with GCC4. 2006-05-11 09:08:09 +00:00
mrg
10c621b36e sprinkle some -Wno-pointer-sign for now. 2006-05-11 08:55:10 +00:00
mrg
9f5cbae0f8 res_search() takes u_char * as 4th argument - pass one. 2006-05-11 08:44:56 +00:00
mrg
757868b20a include <string.h> 2006-05-11 08:44:07 +00:00
mrg
953a812e66 le64 "big endian" is not printable by PRIu64 - cast via (u_int64_t). 2006-05-11 08:43:16 +00:00
mrg
c6d4b90983 use -fno-strict-aliasing with GCC4. 2006-05-11 08:41:07 +00:00
mrg
c48f394145 assign to wd.wd_recvtime rather than casting a pointer to it
to a time_t pointer to call time(3).
2006-05-11 08:40:28 +00:00
mrg
74e0882190 rs_data is u_char *, so assign it from a u_char *. 2006-05-11 08:38:38 +00:00
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