Commit Graph

137587 Commits

Author SHA1 Message Date
nathanw
30494f81df Fix shadowing of parameter with local variable. 2005-06-05 20:01:36 +00:00
chs
7bbdd188e1 appease gcc -Wuninitialized on hp700. 2005-06-05 19:08:28 +00:00
chs
157d1a93e8 remove sigtramp version 1, we haven't used it in a long time. 2005-06-05 19:02:10 +00:00
chs
bb7a930a0b fix function name in end-marker. 2005-06-05 19:01:04 +00:00
wiz
88d9def466 genassym(1), not (8) 2005-06-05 19:00:02 +00:00
wiz
d3918ffef7 config(1), not (8) 2005-06-05 18:59:35 +00:00
chs
61549934be adjust for Makefile.mdset changes. 2005-06-05 18:56:51 +00:00
chs
b944888e86 install the bootloader in the root of the target fs. 2005-06-05 18:55:30 +00:00
chs
2c1b9670f3 add usr/mdec/boot 2005-06-05 18:54:06 +00:00
nathanw
5774b0f330 Nuke the II and IIsi code from this file; it's never used on a
macppc. Remove variables and macros no longer used as a result.

This driver *still* needs an enema.
2005-06-05 18:49:49 +00:00
thorpej
daf3614dbb Remove this version of genassym; nothing uses it. 2005-06-05 18:26:19 +00:00
rjs
aa1713b750 Rename shadowing variable. 2005-06-05 18:22:45 +00:00
thorpej
5ecc953bdb config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin.  Move them
there.
2005-06-05 18:19:52 +00:00
he
28063351c0 Adapt to compiling with -Wcast-qual and -Wshadow. 2005-06-05 17:56:31 +00:00
he
745ad09fd4 Adapt to building with -Wcast-qual. Regrettably we have to use
__UNCONST() in one sysctl_lookup() invocation (for now).
2005-06-05 15:43:30 +00:00
he
78fc2f2db7 Remove an unneeded cast and add some consts. 2005-06-05 15:39:17 +00:00
he
34094b7804 Catch up to changes in prototype for a few functions, which changed some
"char*" parameters to "const char*".
2005-06-05 15:36:47 +00:00
he
627c254473 Work around -Wcast-qual by adding another __UNVOLATILE() when using
atomic_set_bit().
2005-06-05 15:28:27 +00:00
wiz
fc2b917f4e Bump date for BUGS section removal. 2005-06-05 15:22:04 +00:00
soren
4b45984050 Xref ahd.4. 2005-06-05 15:21:23 +00:00
soren
489bf9d06d Microphone support was added some time ago. 2005-06-05 15:19:35 +00:00
tsutsui
3c37988ff0 Make sure that struct mainbus_attach_args is actually allocated.
With the previous autoconf.c and mainbus.c, the memory in rodata section
which stores "mainbus" strings (for the second arg in config_rootfound())
is used to fill mainbus_attach_args in mainbus_search(). Oh well...
2005-06-05 15:02:18 +00:00
he
aba38ac9a9 Make reloc_elfmag const, so that this compiles. 2005-06-05 14:17:51 +00:00
he
62200edc2e Fix a shadowing warning by renaming an (unused) function parameter. 2005-06-05 13:53:23 +00:00
he
c1fc8d369e Adapt to compiling with -Wcast-qual by sprinkling around some consts.
Had to use __UNCONST() in one case of sysctl_lookup() use.
2005-06-05 13:49:26 +00:00
he
1994354d47 There was still a reference to bufpages here (preceded by an XXX comment)
so provide a local extern declaration after it was removed from <sys/buf.h>.
2005-06-05 12:36:24 +00:00
he
ed9b489c17 Adapt to -Wcast-qual by adding a few consts. 2005-06-05 11:35:09 +00:00
he
0c68b63d19 Adapt to -Wcast-qual and -Wshadow by adding const and renaming a
few local variables.  One problem remains which makes this not
build related to the initial assignment of reloc_elfmag, where the
portmaster's opinion has been sought.
2005-06-05 11:34:12 +00:00
he
6082beaaf9 Revert previous and fix the todr_gettime() / todr_settime() problem
differently, simply by removing the now unneccessary cast.
2005-06-05 11:29:06 +00:00
he
ee2fad4551 Add volatile to the second argument to _gettime / _settime functions. 2005-06-05 09:32:32 +00:00
he
076021d300 Adapt to compiling with -Wcast-qual by sprinkling consts around. 2005-06-05 09:08:48 +00:00
jdc
f13fcfe512 Rename 'ncpus' to '_ncpus', otherwise we shadow sparc/sparc64's 'ncpus'
when MULTIPROCESSOR is defined.
2005-06-05 09:04:49 +00:00
he
82e01bc59d Now that /var/log/wtmp and /var/log/wtmp should have group=utmp,
instruct newsyslog to follow up this when rotating these logs.
2005-06-05 07:33:17 +00:00
lukem
e82ae39d67 Cosmetic tweak previous; IMHO we don't need the XXX comment in this
case, since I prefer to NULL initialize variables in this situation.
2005-06-05 01:15:29 +00:00
heinz
b1539d591e Updated URL for list of NetBSD mirrors. 2005-06-04 23:24:40 +00:00
uwe
0ecc598f5b Drop cargo cult aux="mainbus" argument to config_rootfound.
Makes -Wcast-qual happy.
2005-06-04 22:57:20 +00:00
uwe
c7dd3646ae Update to reflect the constification of the arguments of
ttyldisc_lookup and ttyldisc_remove.
2005-06-04 22:49:32 +00:00
uwe
fb2315c16b Constify argument to ttyldisc_lookup and ttyldisc_remove. 2005-06-04 22:45:11 +00:00
he
cc129440dd Fix -Wcast-qual warnings, unfortunately using __UNCONST() for sysctl()
function parameters.
2005-06-04 22:40:03 +00:00
uwe
9bb93565ec Catch up with constification. 2005-06-04 22:38:24 +00:00
he
82ea600ca2 Fix -Wcast-qual by sprinkling some consts, and remove named
parameters from a function prototype to avoid shadowing.
Also fix a couple of other shadowing problems.
2005-06-04 22:37:51 +00:00
he
0d43148fcf Add an initialization to appease -Wuninitialized. Apparently the
sparc64 compiler gets this wrong.
2005-06-04 22:14:00 +00:00
manu
6ec5a5a9b7 Fix Xauth login with PAM authentication 2005-06-04 22:09:27 +00:00
he
a816cb98da Fix shadowing warning. 2005-06-04 22:05:40 +00:00
manu
2c39301c40 Endianness bug fix 2005-06-04 21:55:05 +00:00
he
d4dda01010 Add use of an __UNVOLATILE() to appease -Wcast-qual.
May be revisited if atomic_set_bit()'s signature can change.
2005-06-04 21:45:05 +00:00
he
b10da2c299 Add some const and rename a local variable to avoid shadowing. 2005-06-04 21:22:12 +00:00
he
24b7db0ccd Fix shadowing warnings by renaming local variables and by
removing parameter names in function prototype.
2005-06-04 21:19:23 +00:00
he
47e106509e Add an __UNVOLATILE() in atomic_set_bit() usage.
Revisit if we can adjust atomic_set_bit()'s signature.
2005-06-04 21:18:18 +00:00
he
848febea1d Rename an (unused) argument to avoid shadowing. 2005-06-04 20:36:15 +00:00