mrg
b18db50b21
cast the return value of several macros that evaluate to "(func() == FOO)"
...
to (void) to avoid "computed value not used" warnings.
2006-05-11 22:26:54 +00:00
mrg
ae844d5313
turn on -Wno-pointer-sign for all kernel code.
2006-05-11 22:24:48 +00:00
mrg
2a5124235b
if we are going to cast the 3rd argument to accept_info_request(),
...
use the right type.
2006-05-11 21:17:02 +00:00
gdamore
37aa1cc453
Added entries for edid, ddc, vesagtf, and ddc_read_edid.
2006-05-11 21:11:29 +00:00
gdamore
fb287f2aae
Added ddc.4, ddc.9. and edid.9
2006-05-11 21:06:41 +00:00
gdamore
1247b1ef2d
Add preliminary documentation for DDC and EDID subsystem.
2006-05-11 21:00:18 +00:00
mrg
4a7d55e29a
our recvfrom() uses socklen_t *.
2006-05-11 19:25:28 +00:00
mrg
f066626ffb
char -> u_char in a couple of places to match other variables.
2006-05-11 19:16:42 +00:00
mrg
187c39fd03
in uaudio_process_as() initialise ai.aformat and ai.ifaceh.
2006-05-11 19:09:25 +00:00
gdamore
80044be1b4
Change edid_parse() to take the edid structure as argument rather than
...
allocating its own. (This is cleaner since we aren't allocating any
other data in this structure.)
Get rid of edid_free() as a result.
2006-05-11 19:05:41 +00:00
sjg
fc23c7c758
Remove the modterm case from moderrs, the syntax errors
...
generated by /bin/sh on other systems are not consistent.
2006-05-11 18:48:33 +00:00
christos
90463da1f9
Address the remaining Coverity problems from Mark D. Baushke
2006-05-11 17:47:49 +00:00
garbled
b1e7b0cf85
I changed the ramdisk size in the kernel, but failed to change the size
...
of the ramdisk image. Thanks to he for catching this one.
2006-05-11 17:23:18 +00:00
mrg
efb8c0c93f
if GCC>3:
...
- add -Wno-attributes -Wno-pointer-sign to CWARNFLAGS.
- add -fno-strict-aliasing to CFLAGS [*]
our kernel again needs a bunch of work for this to be enabled.
2006-05-11 17:21:38 +00:00
mrg
e221bc9fb9
in _m_gmon_destructor(0 when traversing the list, add (void *) to the cast
...
chain.
2006-05-11 17:19:15 +00:00
mrg
117693dfce
when calling compile_tr() add (void *) to the 2nd argument's cast chain.
2006-05-11 17:18:19 +00:00
mrg
b569463af0
in pecoff_load_file() make size a u_long to match it's use.
2006-05-11 17:17:00 +00:00
mrg
aa75540c7c
native_sigset13_to_sigset()'s first argument is a sigset13_t *.
2006-05-11 17:15:54 +00:00
mrg
6f4493cd5c
xdr sucks. sprinkle some (void *) casts into it's functions taking void **,
...
and shut up GCC4.
2006-05-11 17:11:57 +00:00
mrg
d2eb498e2b
- log2() -> lfs_log2().
...
- fix a couple of entries in struct lfs lfs_default:
- in a comment, it's called dlfs_freehd now
- dlfs_inodefmt comes after dlfs_tstamp. fortunately for this
one, LFS_44INODEFMT is also 0 so the right thing was happening.
2006-05-11 16:56:50 +00:00
mrg
77c7eed08d
add128() wants bits64 * as it's 5th argument.
2006-05-11 16:38:44 +00:00
christos
5eed059930
Add MSG_NOSIGNAL (from FreeBSD)
2006-05-11 15:49:44 +00:00
christos
b0a429fdb3
Document more MSG_ flags. From FreeBSD
2006-05-11 15:48:48 +00:00
sjg
03cbcf6532
Extract the variable modifier logic to a separate function.
...
This cuts Var_Parse in half! and allows the modifier logic to
be used recursively - when getting modifiers via variables.
Add new unit-test, to check that certain error cases are handled
correctly.
2006-05-11 15:37:07 +00:00
mrg
6daaa2e383
use a u_char[] when it is expected.
2006-05-11 12:27:21 +00:00
mrg
bb50bce731
avoid some char * vs. u_char * issues.
2006-05-11 12:26:38 +00:00
yamt
ccc0bd2ab6
remove irqblock[] as no one uses it. reviewed by Ben Harris.
2006-05-11 12:05:37 +00:00
liamjfoy
1ee9d337ea
clear errno before using strtol
...
ok christos & joerg
2006-05-11 12:02:08 +00:00
yamt
ee458ef97e
include errno.h directly rather than via user.h.
2006-05-11 12:01:33 +00:00
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