dogcow
3e1f2a8ad1
another day, another __unused sprinkle.
2006-10-16 16:05:34 +00:00
skrll
edf13fb5fb
Reformat a comment.
2006-10-16 13:53:09 +00:00
skrll
78b8583054
Correct the frame size for a couple of ENTRYs
2006-10-16 13:52:47 +00:00
he
62e8b0f3fa
Make a minimal attempt at distinguishing between the hosts and the
...
targets integer data type value ranges. For now we just use the
hosts uint64_t for parsing & storing integers constants, and test
against the targets limits and assign appropriately, instead of
sometimes (inappropriately) going via the hosts u_long type. As
long as none of our architectures have target long or quad data
types strictly larger than 64 bits, we should be fine with this
fix.
Furthermore, as they stand at the moment, we can't use the current
TARG_INT_MAX and TARG_LONG_MAX constants in C preprocessor expressions,
so remove the conditional on them being equal. Yes, this will
produce dead code for some targets.
This allows an ilp32 host to lint for an lp64 target which uses
e.g. the targets ULONG_MAX constant without triggering an "integer
constant out of range" warning.
OK'ed by christos.
2006-10-16 13:33:57 +00:00
yamt
44923ac48a
implement vmem_xalloc/xfree.
...
XXX importing needs some more thoughts.
2006-10-16 13:09:42 +00:00
yamt
bfeb267b0a
define boolean_t if !_KERNEL.
2006-10-16 13:09:06 +00:00
pooka
46e45ee2d4
replace static for ncapi - it doesn't need exporting - nuke it from the header
2006-10-16 13:03:03 +00:00
pooka
5005d343ec
* __unused games + other relevant fixes
...
* give me ANSI C or give me death (at least where it could be easily spotted)
2006-10-16 13:00:36 +00:00
pooka
1810947bb4
make compile by using __unused & other necessary tricks
...
and remove <0 comparisons for bus_size_t. if a port wants signed
bus_size_t, it just might have to accept it can't use this driver. *snif*
2006-10-16 12:58:54 +00:00
pooka
97cdceacd6
* __unused madness
...
* insert missing initializers
* fix one (1!) bug because of if(); (although I wonder if
the fix is actually of any use ...)
2006-10-16 12:23:00 +00:00
skrll
6d031b3abb
Link testlib against libm and libgcc_s so that all the required symbols
...
are available for all arches.
Some arches (arm and hppa) use SJLJ expections which requires stuff from
libgcc_s and some (hppa) always do immediate binding - libstdc++ requires
libm.
Fixes PR 33294 and regress/usr.bin/rtld/dlopen on hppa with the soon to
be committed unaligned reloc fix.
2006-10-16 09:21:55 +00:00
wiz
fef6221a07
Hyphenate nul-terminate.
2006-10-16 09:10:40 +00:00
wiz
d65511ddb3
Mark up NULL.
2006-10-16 09:10:29 +00:00
wiz
1a64d82da5
nul/null/NULL cleanup:
...
when talking about characters/bytes, use "nul" and "nul-terminate"
when talking about pointers, use "null pointer" or ".Dv NULL"
2006-10-16 08:48:45 +00:00
wiz
aba3ac5c73
kleink reminded me in a friendly way that "NULL" is the C API
...
synonyme for a "null pointer" and that there is no "NULL pointer".
2006-10-16 08:42:16 +00:00
christos
eed7e5b25b
c99 initializer
2006-10-16 03:39:42 +00:00
christos
5b106e45c5
kill empty else.
2006-10-16 03:38:08 +00:00
christos
5afd1c0a23
use MOPT_NULL
2006-10-16 03:37:42 +00:00
christos
fb9bdae14a
add MOPT_NULL
2006-10-16 03:31:27 +00:00
christos
cf91149591
c99 initializer
2006-10-16 03:26:49 +00:00
christos
851ac27d44
c99 initializers
2006-10-16 03:25:21 +00:00
christos
8dd4b2bbb0
comment out/delete impossible code
2006-10-16 03:21:34 +00:00
thorpej
d9fd2cbcd7
Add a _PROP_ARG_UNUSED that expands to __unused on NetBSD and to nothing
...
everywhere else. Use it where Christos decided to use __unused in this
code.
2006-10-16 03:21:07 +00:00
christos
8cf4f4e359
c99 initializers
2006-10-16 03:21:05 +00:00
christos
b8a730da20
c99 initializer
2006-10-16 03:15:46 +00:00
christos
dcd203dd29
c99 iniitializer
2006-10-16 03:12:23 +00:00
christos
17e1e1af49
c99 initializer
2006-10-16 03:10:59 +00:00
christos
0e84886f1c
comment out impossible code.
2006-10-16 03:09:26 +00:00
christos
fef0df6d6b
c99 initializers
2006-10-16 03:09:06 +00:00
christos
6dd4b3398f
c99 initializers.
2006-10-16 03:04:45 +00:00
christos
f076ca6346
use c99 initializers
2006-10-16 03:02:01 +00:00
christos
68475dcb61
comment out impossible code.
2006-10-16 03:01:36 +00:00
christos
50b568b12d
c99 initializers
2006-10-16 02:56:56 +00:00
christos
9b005038ce
add missing initializer
2006-10-16 02:55:10 +00:00
christos
2f9c53340f
sprinkle volatile.
2006-10-16 02:54:23 +00:00
christos
00ab1df137
- get rid of p_cfunc2
...
- add missing initializers
2006-10-16 02:52:43 +00:00
christos
56641252ba
- add volatile
...
- static before const
2006-10-16 02:44:46 +00:00
christos
064b0504f7
c99 initializer
2006-10-16 02:43:19 +00:00
christos
457d135620
c99 initializers
2006-10-16 02:42:42 +00:00
christos
7e3b870a41
add missing initializers
2006-10-16 00:45:19 +00:00
christos
5b08cf393d
c99 initializer
2006-10-16 00:43:00 +00:00
christos
18243309bd
c99 initializers
2006-10-16 00:37:55 +00:00
christos
272937609b
sprinkle volatile.
2006-10-16 00:36:19 +00:00
christos
3fccf7e09e
c99 initializers
2006-10-16 00:31:47 +00:00
christos
a3522b311f
c99 initializers
2006-10-16 00:11:57 +00:00
christos
573bd5e5dd
add missing inititializer
2006-10-16 00:11:22 +00:00
christos
d2bca38017
use c99 initializers
2006-10-16 00:07:32 +00:00
christos
88e26c5a37
sprinkle volatile
2006-10-15 23:57:21 +00:00
christos
640b35e022
c99 initializers
2006-10-15 23:55:30 +00:00
christos
9052088997
add casts
2006-10-15 22:43:30 +00:00