Maxime Henrion
f082437d56
Remove (at least temporarily) the check that prevents us from including
...
this file from userland. Since we export struct ifnet to userland, and
that struct ifnet now contains a struct task, userland needs to know
what struct task looks like.
We need to consider having a pointer to a struct task here instead and
forward declare struct task in the !_KERNEL case.
2004-07-28 09:12:54 +00:00
Alexander Kabaev
0171fe42f2
Damage control. Correcly advance symtab and strtab pointers, not
...
table length values.
Spotted by: iedowse
2004-07-28 08:59:08 +00:00
Alexander Kabaev
1bb0b6dee7
Avoid casts as lvalues.
2004-07-28 07:20:04 +00:00
Alexander Kabaev
617e8b416d
Downgrade WARNS level to more tolerable value. Attempt to fix
...
casts as lvalue usage whenever possible.
2004-07-28 07:19:15 +00:00
Alexander Kabaev
8568d3e3f4
Move __iniline function definition before its first usage in the file.
2004-07-28 07:17:00 +00:00
Alexander Kabaev
64349aaa88
Temporarily disable kernbb utility. It has to learn about new gcov data
...
format first.
2004-07-28 07:13:55 +00:00
Alexander Kabaev
e96993d049
Remove local malloc prototypes, which are incorrect and conflict with
...
both GCC builtin and system declared ones.
2004-07-28 07:12:30 +00:00
Alexander Kabaev
e95e2344a8
Do not predeclare __inline functions, this makes no sense and generates
...
a warning with gcc 3.4.x.
2004-07-28 07:10:03 +00:00
Alexander Kabaev
40cd002b5a
Introduce SYSCTL_CHILDREN_SET macro which can be used in place of
...
cast as a value.
2004-07-28 07:08:39 +00:00
Alexander Kabaev
e89fadd930
Emply __used attribute to prevent compiler from removing unreferenced
...
static symbols. This wasn't a problem with previous GCC releases, but
unit-at-a-time mode of GCC 3.4.2 prevents linker set components from
being emitted at all.
2004-07-28 07:07:16 +00:00
Alexander Kabaev
36efbf4ff7
Introduce __used attribute which serves as logical conuterpart of
...
preexisting __unused.
2004-07-28 07:03:42 +00:00
Alexander Kabaev
1477f58850
Introduce SLOT_SET macro and use it in place of casts as lvalues.
2004-07-28 07:01:33 +00:00
Alexander Kabaev
445e045b0d
Avoid casts as lvalues.
2004-07-28 06:59:55 +00:00
Alexander Kabaev
766f8c9247
Avoid casts as lvalues. Declare local variable as u_char * instead of
...
declaring it as u_short * and casting it back to uchar * all over the place.
2004-07-28 06:58:23 +00:00
Alexander Kabaev
a0ec13c419
Initialize ; variable eraly to shut up GCC warning.
2004-07-28 06:48:36 +00:00
Alexander Kabaev
a994007d62
Forced commit to note that prevois commit has nothing to do with casts
...
as lvalues. I meant to replace a bogus function cast with less bogus one.
2004-07-28 06:45:13 +00:00
Alexander Kabaev
00fbcda80d
Avoid casts as lvalues.
2004-07-28 06:42:41 +00:00
Alexander Kabaev
b403319b8d
Avoid using casts as lvalues. Introduce DIP_SET macro which sets proper
...
inode field based on UFS version. Use DIP ro read values and DIP_SET
to modify them throughout FFS code base.
2004-07-28 06:41:27 +00:00
Alexander Kabaev
24a06d1874
Avoid casts as lvalues. While here, avoid storing 32bit quantities in
...
16bit locations.
2004-07-28 06:32:28 +00:00
David Xu
8bda8a620c
Use P_SINGLE_EXIT to check single-threading case, P_WEXIT is not for that
...
purpose.
2004-07-28 06:30:52 +00:00
Alexander Kabaev
1f74490224
Avoid casts as lvalues.
2004-07-28 06:30:43 +00:00
Alexander Kabaev
eec256de79
Avoid casts as lvalues.
2004-07-28 06:21:53 +00:00
Alexander Kabaev
3bdee39ecb
Make __packed attribute apply to structs themselves, not their typedefs.
...
GCC 3.4.2 issues warning about that.
2004-07-28 06:19:25 +00:00
Paul Saab
d49f1379e4
Name non-physical devices.
2004-07-28 06:18:05 +00:00
Alexander Kabaev
7e86873d5c
Initialize s variable early to shut up GCC warnings.
...
Do not declare inline functions without body as this is useless in
general and generates a warning with GCC 3.4.x.
Glanced over by: dhartmei
2004-07-28 06:14:44 +00:00
Alexander Kabaev
1c052ff9fa
Allow for aggressive function inlining. This might have to be fine-tuned
...
later.
2004-07-28 06:07:02 +00:00
Alexander Kabaev
fa2edf7bcd
Avoid casts as lvalues.
2004-07-28 06:05:41 +00:00
Alexander Kabaev
d9eedfd93c
Define our own memcpy here instead of relying on GCC to provide one.
2004-07-28 06:03:27 +00:00
Alexander Kabaev
a03f8f81b7
Downgrade WARNS level until GCC 3.4.2 warning are fixed.
2004-07-28 06:00:09 +00:00
Alexander Kabaev
8518a74a8f
Avoid casts as lvalues.
2004-07-28 05:59:22 +00:00
Alexander Kabaev
bcd5ceac59
Downgrade WARNS level until GCC 3.4.2 warning have been fixed.
2004-07-28 05:57:48 +00:00
Alexander Kabaev
dd86691ec8
Work around known GCC 3.4.x problem and use ANSI prototype for dremf().
2004-07-28 05:53:18 +00:00
Alexander Kabaev
2d18d113c7
Downgrade WARNS level for GCC 3.4.2.
2004-07-28 05:49:15 +00:00
Alexander Kabaev
511938318c
Avoid casts as lvalues.
2004-07-28 05:44:52 +00:00
Alexander Kabaev
c2cc554bbe
Downgrage WARNS level for GCC 3.4.x.
2004-07-28 05:44:07 +00:00
Alexander Kabaev
e1f91dbd18
Remove stale code protected by #ifdef sparc. GCC 3.4.x adds sparc to
...
predefined symbols on all SPARC platforms and FreeBSD follows the crowd.
2004-07-28 05:43:08 +00:00
Alexander Kabaev
698784bef7
s/round/fpround/ to avoid naming clash with GCC builtin function.
2004-07-28 05:41:05 +00:00
Alexander Kabaev
aa8ad7aad0
Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.
2004-07-28 05:39:04 +00:00
Alexander Kabaev
14046059e1
Add missing () to function invocation.
2004-07-28 05:37:18 +00:00
Alexander Kabaev
2cc37f2ca4
Do not use casts as lvalues.
2004-07-28 05:33:58 +00:00
Alexander Kabaev
81efba8c9e
Bmake glue for GCC 3.4.2-prerelease.
2004-07-28 05:27:21 +00:00
Alexander Kabaev
2814077c60
We generate this file from config.h automatically.
2004-07-28 05:23:28 +00:00
Alexander Kabaev
e46f2ea2ce
Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info
...
GCC 3.4.3-prerelease sources.
2004-07-28 05:08:31 +00:00
Alexander Kabaev
10e9ba0b8b
Merge FreeBSD changes into GCC 3.4.2-prerelease:
...
1.2 Printf format errors fixes.
2004-07-28 05:06:59 +00:00
Alexander Kabaev
110ff012a5
Use stock version of this file now.
2004-07-28 05:03:19 +00:00
Alexander Kabaev
eba800a0ec
Update sparc64 MD bits to GCC 3.4.2-prerelease.
2004-07-28 05:00:13 +00:00
Alexander Kabaev
b76a1e10e7
Merge FreeBSD changes into GCC 3.4.2-prerelease:
...
1.2 Tweaks to make this file live beside our hacked config.
2004-07-28 04:56:54 +00:00
Alexander Kabaev
85336dcfdf
Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
...
overridable from the command line).
2004-07-28 04:49:58 +00:00
Alexander Kabaev
c4471ac9b4
Merge r1.11 (-mno-align-long-strings).
2004-07-28 04:47:35 +00:00
Alexander Kabaev
025f702c81
Update Amd64 MD bits for GCC 3.4.2-prerelease.
2004-07-28 04:44:23 +00:00