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
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