Peter Wemm
b93c3c5ed6
Fix some warnings in kern_environment.c. Make the getenv*() family
...
take a const 'name', since they dont modify anything.
159: warning: passing arg 1 of `getenv_int' discards qualifiers...
167: warning: passing arg 1 of `getenv' discards qualifiers from pointer..
2001-06-15 07:29:17 +00:00
Peter Wemm
b48746a5da
Fix warning: 186: warning: label `done' defined but not used
2001-06-15 07:26:39 +00:00
Assar Westerlund
af7a0a2d2b
remove most of the warnings
2001-06-15 01:53:05 +00:00
Peter Wemm
70439d2750
Fix warning: 568: warning: `portal_badop' defined but not used
2001-06-15 00:38:03 +00:00
Peter Wemm
215db1379e
Fix a stack of KAME netinet6/in6.h warnings:
...
592: warning: `struct mbuf' declared inside parameter list
595: warning: `struct ifnet' declared inside parameter list
2001-06-15 00:37:27 +00:00
Peter Wemm
f14f48a226
Fix warning (exposed NetBSD code):
...
94: warning: `ntfs_bmap' declared `static' but never defined
2001-06-15 00:32:07 +00:00
Peter Wemm
e75a45be56
Fix warnings (mostly harmless, due to struct bio being embedded in buf):
...
738: warning: passing arg 1 of `biodone' from incompatible pointer type
745: warning: passing arg 1 of `biodone' from incompatible pointer type
2001-06-15 00:30:27 +00:00
Peter Wemm
42c187b77e
Fix warning: 552: warning: `fdesc_badop' defined but not used
2001-06-15 00:27:21 +00:00
Peter Wemm
1d63bf5236
Fix warning: 128: warning: initialization makes pointer from integer
...
Note: this file has lots of #if __FreeBSD__ >= 4 etc which needs to be
changed to __FreeBSD_version >= 400000 etc.
2001-06-15 00:26:41 +00:00
Assar Westerlund
65ea0024ba
add the option -S for printing port numbers symbolically but addresses
...
numerically. clean up the CFLAGS in Makefile.
2001-06-15 00:25:44 +00:00
Peter Wemm
953d6e00e9
Fix warnings:
...
vinumhdr.h:80: warning: redundant redeclaration of `vinum_cdevsw'
vinumext.h:239: warning: previous declaration of `vinum_cdevsw'
in each of the following files:
vinum.c, vinumconfig.c, vinumdaemon.c, vinuminterrupt.c, vinumio.c,
vinumioctl.c, vinumlock.c, vinummemory.c, vinumraid5.c, vinumrequest.c,
vinumrevive.c, vinumstate.c, vinumutil.c
2001-06-15 00:23:11 +00:00
Peter Wemm
c5d8f2e6b1
Fix warnings:
...
musycc.c:449: warning: long unsigned int format, unsigned int arg (arg 3)
musycc.c:449: warning: long unsigned int format, unsigned int arg (arg 4)
musycc.c:453: warning: long unsigned int format, unsigned int arg (arg 3)
musycc.c:453: warning: long unsigned int format, unsigned int arg (arg 4)
musycc.c:453: warning: long unsigned int format, unsigned int arg (arg 5)
These warnings used to be confined to the alpha but are on all now.
2001-06-15 00:19:43 +00:00
Peter Wemm
5c176b95c2
Fix warning: 110: initialization makes pointer from integer without a cast
...
This was passing a (d_kqfilter_t *)-1 as the kqfilter function pointer.
Fortunately there was no D_KQFILTER in d_flags, so this was harmless.
2001-06-15 00:16:59 +00:00
Peter Wemm
14aa34173c
Fix warning: 193: warning: label `done' defined but not used
2001-06-15 00:13:54 +00:00
Peter Wemm
22941bd78f
Fix warnings:
...
554: passing arg 4 of `resource_string_value' from incompatible pointer type
576: passing arg 4 of `resource_string_value' from incompatible pointer type
593: passing arg 4 of `resource_string_value' from incompatible pointer type
2001-06-15 00:13:18 +00:00
Peter Wemm
70d73137b9
Fix warnings:
...
1831: warning: unused variable `noise'
1831: warning: unused variable `sig'
2001-06-15 00:10:30 +00:00
Peter Wemm
3a88b43443
Fix warning: 179: warning: label `done' defined but not used
2001-06-15 00:09:28 +00:00
Peter Wemm
988401088c
Fix warnings:
...
1267: warning: suggest parentheses around comparison in operand of &
2087: warning: unused variable `li'
2001-06-15 00:07:27 +00:00
Peter Wemm
13f961dbfd
Warning fix: coda_fbsd.c:113: warning: unused variable `ret'
2001-06-15 00:02:27 +00:00
Peter Wemm
13465b1b33
Temporarily disable INTRO_USERCONFIG for the moment.
...
Noted by: Dave Cornejo <dave@dogwood.com>
2001-06-14 23:48:13 +00:00
Dima Dorfman
19980bc92d
Don't hardcode in "/release/doc/"; instead, make it the default of a
...
new RELN_ANCHOR variable. It may be necessary to override this if the
path to the checked out release notes tree doesn't end with
"release/doc".
2001-06-14 23:23:21 +00:00
Matt Jacob
773fa867f2
If we're not going to use am7990_shutdown, comment it all out.
...
MFC after: 2 weeks
2001-06-14 19:36:37 +00:00
Matt Jacob
1aaf1de145
Fix Assembler buglet: Warning: .end directive names different symbol than .ent
...
MFC after: 2 weeks
2001-06-14 19:33:16 +00:00
Bruce A. Mah
d7a20073af
New release notes: New arp(8) keywords for proxy entries, new locale
...
names, route(8) has better error messages, new route(8) host/bits
syntax, route(8) proxy-only published ARP entries, pkg_version(1) -s.
2001-06-14 18:46:26 +00:00
Matt Jacob
cb62bc53d1
We've had problems with data corruption occuring on
...
commands that complete (with no apparent error) after
we receive a LIP. This has been observed mostly on
Local Loop topologies. To be safe, let's just mark
all active commands as dead if we get a LIP and we're
on a private or public loop.
MFC after: 4 weeks
2001-06-14 17:13:24 +00:00
Bruce A. Mah
36fccbcea4
New release notes: orm(4), VM out-of-swap fixes, IPv6 update from
...
KAME, isp(4) Fibre Channel update, dump(8) -T doesn't gobble its
argument, libfetch authentication callback, libfetch HTTP_USER_AGENT,
install(1) -d -C generates a warning, du(1) -I
MFCs noted: RFC 1323/1644 back-off.
2001-06-14 17:02:14 +00:00
Ruslan Ermilov
d15c5f56b6
Restore -M -N support for -m.
...
PR: 20808
2001-06-14 15:45:09 +00:00
Joerg Wunsch
c45b4c1e58
Implement a loadable module for the oltr Olicom Token Ring driver. I
...
could only get a chance of testing it under 4.3, but together with the
if_oltr.c fixes at least it seems to work now. If someone has the chance
to test this under -current, please do.
Unfortunaltey, the TR code itself (if_iso88025subr.c) is not written
in a way that would allow to make a seaparate KLD out of it. By now,
just link it directly into the oltr KLD since it's probably the POLA
to be able to load the TR code together with the only TR hardware
driver we've got by now.
I've got one single unexplained panic (in doreti_switch or somewhere
there, calling a 0xc1XXXXXX address that did no longer belong to the
kernel at all) after unloading the modules once, thus i don't propose
a MFC of this module despite my testing has been done solely on 4.3,
unless someone is really going to test this stuff in -current.
2001-06-14 15:16:04 +00:00
Joerg Wunsch
d6287c5081
Do only call oltr_stop() if we are not already in OL_STOPPED state.
...
This avoids a null pointer deref panic in TRlldClose() inside the
vendor-supplied object code. It's now possible to unload the driver
at all.
Implement deallocation of malloc()ed memory regions.
MFC after: 2 months
2001-06-14 15:08:40 +00:00
Ruslan Ermilov
1f389209a6
Removed -h option.
2001-06-14 14:21:11 +00:00
Ruslan Ermilov
00c5403e09
Really delete the -h option.
...
CSRG revision 5.33 deleted -h option from getopt(), but not
from usage(). Revision 8.3 restored it in getopt().
2001-06-14 14:15:41 +00:00
Cameron Grant
b8f0d9e0b2
various locking fixes, rework open logic and channel registration
...
PR: kern/28084
2001-06-14 13:31:30 +00:00
Yoshihiro Takahashi
4d153eaeb6
Commented out USERCONFIG and VISUAL_USERCONFIG options.
2001-06-14 11:32:54 +00:00
Yoshihiro Takahashi
eb975db359
Removed unused files.
2001-06-14 11:15:00 +00:00
Yoshihiro Takahashi
5c936ade5b
Correct typo.
2001-06-14 11:09:11 +00:00
Yoshihiro Takahashi
38b70454e3
Moved the wd33c93 specific file to sys/dev/ic.
2001-06-14 11:05:48 +00:00
Boris Popov
93131977c4
Remove bogus include.
2001-06-14 11:05:01 +00:00
Boris Popov
4587152a71
Coda do not call vop_defaultop(), so add nesessary calls for VM objects.
...
Submitted by: Greg Troxel <gdt@ir.bbn.com>
MFC after: 2 days
2001-06-14 09:28:30 +00:00
Ruslan Ermilov
9ed6ca77b9
DECR() macro still depended on -traditional-cpp behaviour.
...
Noticed by: bde
2001-06-14 08:33:59 +00:00
Ruslan Ermilov
dfcf88a3a0
Style nits:
...
GBINDIR -> ORIGBINDIR
GBINGRP -> ORIGBINGRP
Submitted by: bde
2001-06-14 06:08:02 +00:00
Dima Dorfman
b41be79bc1
The 3Com 3c505 has not been supported since 3.0.
...
PR: 28085
Submitted by: Jon Hamilton <hamilton@pobox.com>
References: rev. 1.209 of sys/i386/conf/files.i386
2001-06-14 05:29:10 +00:00
Dima Dorfman
92b401e824
Silence warnings and minor style fixes. Mostly constify and don't
...
assume that time_t is a long. Clamp down with WARNS=2.
Not objected to by: -audit
2001-06-14 04:55:26 +00:00
Dima Dorfman
99ef257e68
Start the correct copy of named (pass ${named_program} to ndc(8)).
...
PR: 27051
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
2001-06-14 04:34:40 +00:00
Dima Dorfman
84d86fba8d
Pass -a to dmesg(8).
...
PR: 26870
Submitted by: Tomonobu AKIMOTO <akimoto@xephion.ne.jp>
2001-06-14 04:30:46 +00:00
Dima Dorfman
9b28a3dcc3
This program uses ndc(8); it doesn't send a signal itself.
...
PR: 28104
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
2001-06-14 04:28:45 +00:00
Peter Wemm
9488e5f340
Part 2 of gensetdefs de-orbit burn. linker sets are now self contained
...
for ELF, see src/sys/linker_set.h log.
2001-06-14 01:35:23 +00:00
Peter Wemm
ee24290963
As per comments in sys/linker_set.h:
...
BANG! BANG! BANG! BANG! BANG! BANG! CLICK! CLICK! CLICK! CLICK! CLICK!
<reload>
BANG! BANG! BANG! BANG! BANG! BANG! CLICK! CLICK! CLICK! CLICK! CLICK!
2001-06-14 01:28:56 +00:00
Peter Wemm
44fa54f5f6
Nuke old gensetdefs based linker sets with extreme prejudice
2001-06-14 01:23:57 +00:00
Peter Wemm
d6be5f6435
Fix libpam's linker set stuff to use the new API (unbreak world), and get
...
rid of gensetdefs from here as well.
2001-06-14 01:13:30 +00:00
Mike Heffner
59c3f4f7ee
Respect REPLYTO in mailrc.
...
PR: bin/8322
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
MFC after: 2 weeks
2001-06-14 01:08:30 +00:00