dragonfly.git
15 years agoUse netproto/802_11 includes instead of net/if_ieee80211.h.
Joerg Sonnenberger [Tue, 27 Jul 2004 14:30:10 +0000 (14:30 +0000)]
Use netproto/802_11 includes instead of net/if_ieee80211.h.
Remove if_wavelan_ieee.h, we only temporary need WI_CMD_DEBUG from it,
which isn't in the generic version.

15 years agoUse netproto/802_11 includes instead of net/if_ieee80211.h and
Joerg Sonnenberger [Tue, 27 Jul 2004 14:25:56 +0000 (14:25 +0000)]
Use netproto/802_11 includes instead of net/if_ieee80211.h and
dev/netif/wi/if_wavelan.h. Temporary include definitions for
ieee80211_nwkey and ieee80211_nwid wit the ioctl macros.

15 years agoUse netproto/802_11 includes instead of net/if_ieee80211.h
Joerg Sonnenberger [Tue, 27 Jul 2004 14:16:49 +0000 (14:16 +0000)]
Use netproto/802_11 includes instead of net/if_ieee80211.h

15 years agoUse netproto/802_11 includes instead of net/if_ieee80211.h.
Joerg Sonnenberger [Tue, 27 Jul 2004 14:06:14 +0000 (14:06 +0000)]
Use netproto/802_11 includes instead of net/if_ieee80211.h.

15 years agoUse netproto/802_11 includes, instead of net/if_ieee80211.h
Joerg Sonnenberger [Tue, 27 Jul 2004 13:56:50 +0000 (13:56 +0000)]
Use netproto/802_11 includes, instead of net/if_ieee80211.h

15 years agoRemove VAX conditionalized code.
Hiten Pandya [Tue, 27 Jul 2004 13:50:15 +0000 (13:50 +0000)]
Remove VAX conditionalized code.

15 years agoMake raycontrol(8) WARNS=6 safe by adding const and fixing a signed/unsigned
Joerg Sonnenberger [Tue, 27 Jul 2004 13:39:46 +0000 (13:39 +0000)]
Make raycontrol(8) WARNS=6 safe by adding const and fixing a signed/unsigned
comparision.

15 years agoRemove UIO_USERISPACE, we do not support any split instruction/data
Hiten Pandya [Tue, 27 Jul 2004 13:11:22 +0000 (13:11 +0000)]
Remove UIO_USERISPACE, we do not support any split instruction/data
address space machines such as the PDP-11.  It is not used anywhere
in the kernel.

Remove it from the manual page as well; the only place where it is
referenced now is the old 4.4BSD FS Interface doc which cannott be
changed.

Mostly obtained from FreeBSD -HEAD.

15 years ago- turn a strcpy into a strlcpy to avoid overflow
Joerg Sonnenberger [Tue, 27 Jul 2004 12:51:03 +0000 (12:51 +0000)]
- turn a strcpy into a strlcpy to avoid overflow
- if the byte string is too long, use errx, not err
- abort via call to usage(), if argument of 'W' doesn't contain ':'

Obtained-from: FreeBSD

15 years agoFix generation of opt_inet.h and opt_ipx.h by providing their targets
Hiten Pandya [Tue, 27 Jul 2004 12:33:01 +0000 (12:33 +0000)]
Fix generation of opt_inet.h and opt_ipx.h by providing their targets
respectively.

15 years agoAdd MOD_SHUTDOWN to be processed by the module event handling function.
Hiten Pandya [Tue, 27 Jul 2004 12:21:54 +0000 (12:21 +0000)]
Add MOD_SHUTDOWN to be processed by the module event handling function.

15 years agoGet rid of varargs.h.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 11:22:34 +0000 (11:22 +0000)]
Get rid of varargs.h.

15 years agoActually add the main file for Pentium 4 Thermal Control Circuit support.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 10:55:57 +0000 (10:55 +0000)]
Actually add the main file for Pentium 4 Thermal Control Circuit support.
Obtained from:          FreeBSD(from OpenBSD)
Submitted by:           Johannes Hofmann <Johannes.Hofmann@gmx.de>
Reminded by:            YONETANI Tomokazu <qhwt+dragonfly-commits@les.ath.cx>
OK'd by:                dillon
Feeling like an idiot:  asmodai

15 years agoGet rid of varargs.h.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 10:20:21 +0000 (10:20 +0000)]
Get rid of varargs.h.
Add $DragonFly$ where needed.

15 years agoAdd 802.11 include directory
Joerg Sonnenberger [Tue, 27 Jul 2004 08:43:41 +0000 (08:43 +0000)]
Add 802.11 include directory

15 years agoAdd 802.11 include directory
Joerg Sonnenberger [Tue, 27 Jul 2004 08:38:26 +0000 (08:38 +0000)]
Add 802.11 include directory

15 years agoAdd Pentium 4 Thermal Control Circuit support.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 08:09:56 +0000 (08:09 +0000)]
Add Pentium 4 Thermal Control Circuit support.
Enable by putting 'options CPU_ENABLE_TCC' in your kernel config.

Taken from: FreeBSD (which took it from OpenBSD)
Submitted by: Johannes Hofmann <Johannes.Hofmann@gmx.de>
OK'd by: dillon

15 years agoGet rid of varargs.h.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 07:59:10 +0000 (07:59 +0000)]
Get rid of varargs.h.
Add $DragonFly$ where needed.

15 years agoGet rid of the CFLAGS with traditional-cpp, it compiles fine without.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 07:41:03 +0000 (07:41 +0000)]
Get rid of the CFLAGS with traditional-cpp, it compiles fine without.

15 years agoGet rid of varargs.h.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 07:37:39 +0000 (07:37 +0000)]
Get rid of varargs.h.

15 years agoGet rid of varargs.h.
Jeroen Ruigrok/asmodai [Tue, 27 Jul 2004 07:22:14 +0000 (07:22 +0000)]
Get rid of varargs.h.

15 years agoStyle(9) cleanup:
Chris Pressey [Tue, 27 Jul 2004 01:24:28 +0000 (01:24 +0000)]
Style(9) cleanup:

- Remove some unneeded #define's and indent others properly.
- Convert K&R function definitions to ANSI.
- No functional changes.

Submitted-by: Tim Wickberg <me@k9mach.org>
15 years agoFix typo in Makefile syntax to unbreak the build. Top was being patched from /cvs...
Scott Ullrich [Mon, 26 Jul 2004 20:42:16 +0000 (20:42 +0000)]
Fix typo in Makefile syntax to unbreak the build.   Top was being patched from /cvs which would break the build process if /cvs did not exist.

Noticed-by: Many
Fixed-by: Simon 'corecode' Schubert
Reviewed-by: Chris Pressey

15 years agoPOSIX.1-2003: Changing the group ID is permitted to a process with an
David Rhodus [Mon, 26 Jul 2004 19:48:31 +0000 (19:48 +0000)]
POSIX.1-2003: Changing the group ID is permitted to a process with an
effective user ID of file, but without appropriate privileges, if and
only if owner is equal to the file's user ID or (uid_t)-1 and group is
equal either to the calling process effective group ID or to one of its
supplementary group IDs.

15 years agoImport generic 802.11 layer.
Joerg Sonnenberger [Mon, 26 Jul 2004 16:30:17 +0000 (16:30 +0000)]
Import generic 802.11 layer.

Choose netproto/802_11 instead of net80211 as source location.

Use token API instead mutexing. The locking heavenly depends on atomic
Operations and needs additional work.

Use POSIX int types.

Add dev/wi/if_wavelan_ieee.h as netproto/802_11/if_wavelan_ieee.h, since
this is used by all wireless interfaces and beside the variable and constant
naming mostly wi(4) indepedent.

Obtained-from: FreeBSD

15 years agoDon't use cast as lvalues.
Joerg Sonnenberger [Mon, 26 Jul 2004 16:03:23 +0000 (16:03 +0000)]
Don't use cast as lvalues.

15 years agoDon't cast lvalues.
Joerg Sonnenberger [Mon, 26 Jul 2004 15:59:48 +0000 (15:59 +0000)]
Don't cast lvalues.

15 years agoAdd macro to test for broadcast / multicast Ethernet addresses.
Joerg Sonnenberger [Mon, 26 Jul 2004 14:41:17 +0000 (14:41 +0000)]
Add macro to test for broadcast / multicast Ethernet addresses.

Obtained-from: NetBSD

15 years agoExtend the patch framework to handle non-compilable files. E.g. for
Joerg Sonnenberger [Mon, 26 Jul 2004 14:29:11 +0000 (14:29 +0000)]
Extend the patch framework to handle non-compilable files. E.g. for
a man page patch, no object file should be created.

This is done by using the extension .no_obj.patch.

Requested-by: corecode
15 years agoAesthetic changes:
Hiten Pandya [Mon, 26 Jul 2004 10:25:55 +0000 (10:25 +0000)]
Aesthetic changes:

* remove useless prototype for main()

* lint(1) comments

* add some whitespace between two lines

Submitted-by: Liam J. Foy <liamfoy@kerneled.org>
15 years agoUse stronger wording against using 'register' and '__P()'.
Jeroen Ruigrok/asmodai [Mon, 26 Jul 2004 06:35:31 +0000 (06:35 +0000)]
Use stronger wording against using 'register' and '__P()'.

15 years agoRemove stray fr_checkp() declaration.
Jeroen Ruigrok/asmodai [Mon, 26 Jul 2004 06:32:58 +0000 (06:32 +0000)]
Remove stray fr_checkp() declaration.

15 years agoMinor comment update.
Scott Ullrich [Mon, 26 Jul 2004 00:32:11 +0000 (00:32 +0000)]
Minor comment update.

Noticed-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>

15 years agoAllow options BRIDGE to be defined without having to define options IPFILTER.
Scott Ullrich [Mon, 26 Jul 2004 00:20:59 +0000 (00:20 +0000)]
Allow options BRIDGE to be defined without having to define options IPFILTER.

Approved-by: dillon, hmp
Submitted-by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
15 years agoAdd 'propolice' to the version string version_local.c sed patchup.
Matthew Dillon [Sun, 25 Jul 2004 18:29:54 +0000 (18:29 +0000)]
Add 'propolice' to the version string version_local.c sed patchup.

Suggested-by: Andreas Hauser <andy@splashground.de>
15 years agoMerge revision 1.8 and 1.9 from FreeBSD -CURRENT, i.e., add a section on
Hiten Pandya [Sun, 25 Jul 2004 16:17:31 +0000 (16:17 +0000)]
Merge revision 1.8 and 1.9 from FreeBSD -CURRENT, i.e., add a section on
maintaining a local branch.

Noticed-by: Maxim Konovalov <maxim@FreeBSD.org>
15 years agoMerge mdoc(7) corrections from FreeBSD -CURRENT.
Hiten Pandya [Sun, 25 Jul 2004 16:14:37 +0000 (16:14 +0000)]
Merge mdoc(7) corrections from FreeBSD -CURRENT.

15 years agoMove usched_debug out of the INVARIANTS conditional. Make it unconditional.
Matthew Dillon [Sat, 24 Jul 2004 20:37:04 +0000 (20:37 +0000)]
Move usched_debug out of the INVARIANTS conditional.  Make it unconditional.
Get rid of debug.sccount.

Note that the usched_debug stuff is temporary.

15 years agoMake fstat() account for pending direct-write data when run on a pipe.
Matthew Dillon [Sat, 24 Jul 2004 20:30:00 +0000 (20:30 +0000)]
Make fstat() account for pending direct-write data when run on a pipe.

Submitted-by: Hiten Pandya <hmp@freebsd.org>
Obtained-from: FreeBSD 1.172 (Mike Silbersack)

15 years agoHave DDBs 'ps' command display additional scheduler-related paramters
Matthew Dillon [Sat, 24 Jul 2004 20:27:19 +0000 (20:27 +0000)]
Have DDBs 'ps' command display additional scheduler-related paramters
to ease the debugging of the userland scheduler.

15 years agoAdjust gd_vme_avail after ensuring that sufficient entries exist rather
Matthew Dillon [Sat, 24 Jul 2004 20:25:47 +0000 (20:25 +0000)]
Adjust gd_vme_avail after ensuring that sufficient entries exist rather
then before.  This should solve a panic where the userland
vm_map_entry_reserve() was eating out of the kernel's reserve and causing
a recursive zalloc() to panic.

15 years agoUpdate the userland scheduler. Fix scheduler interactions which were
Matthew Dillon [Sat, 24 Jul 2004 20:21:35 +0000 (20:21 +0000)]
Update the userland scheduler.  Fix scheduler interactions which were
previously resulting in the wrong process sometimes getting a full 1/10
second slice, which under heavy load resulted in serious glitching.
Introduce a new dynamic 'p_interactive' heuristic and allow it to effect
priority +/- by a few nice levels.

With this patch batch operations such as buildworlds, setiathome should not
interfere with X / interactive operations as much as they did before.

Note that we are talking about the the userland scheduler here, not the
LWKT scheduler.  Also note that the userland scheduler needs a complete
rewrite.

15 years agoAdd missing va_end(ap);
Eirik Nygaard [Sat, 24 Jul 2004 19:50:42 +0000 (19:50 +0000)]
Add missing va_end(ap);

15 years agostyle(9) cleanup.
Eirik Nygaard [Sat, 24 Jul 2004 19:45:10 +0000 (19:45 +0000)]
style(9) cleanup.

Submitted by: Douwe Kiela <virtus@wanadoo.nl>
Small fixups by: me

15 years agoLast commit changed a NTOHL to ntohs, correct this.
Joerg Sonnenberger [Sat, 24 Jul 2004 13:00:09 +0000 (13:00 +0000)]
Last commit changed a NTOHL to ntohs, correct this.

Noticed-by: dillon
15 years agostyle(9) cleanup:
Eirik Nygaard [Sat, 24 Jul 2004 11:45:44 +0000 (11:45 +0000)]
style(9) cleanup:
Convert functions to ANSI C.

Submitted by: Douwe Kiela <virtus@wanadoo.nl> with some small changes by me.

15 years agoRemove a not needed main() definition.
Eirik Nygaard [Sat, 24 Jul 2004 10:47:10 +0000 (10:47 +0000)]
Remove a not needed main() definition.

15 years agoBump version number for the 1.1-CURRENT tree.
Jeroen Ruigrok/asmodai [Sat, 24 Jul 2004 09:51:18 +0000 (09:51 +0000)]
Bump version number for the 1.1-CURRENT tree.

15 years agoThe return-path is optional in a headline, therefore don't skip a message
Hiten Pandya [Sat, 24 Jul 2004 06:25:29 +0000 (06:25 +0000)]
The return-path is optional in a headline, therefore don't skip a message
if it is missing return-path.

Obtained from FreeBSD via Peter Avalos <pavalos@theshell.com>.

15 years agoEmulate __FreeBSD__ till 3rd party applications later add in DragonFly
David Rhodus [Fri, 23 Jul 2004 18:15:08 +0000 (18:15 +0000)]
Emulate __FreeBSD__ till 3rd party applications later add in DragonFly
tags or switch from GNU style builds.

15 years agoHook c99 up to the build for usr.bin.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 17:10:10 +0000 (17:10 +0000)]
Hook c99 up to the build for usr.bin.

15 years agoAdd the C99 utility, now that we have a decent C99 compiler in base, i.e.
Hiten Pandya [Fri, 23 Jul 2004 16:32:58 +0000 (16:32 +0000)]
Add the C99 utility, now that we have a decent C99 compiler in base, i.e.
GCC-3.4.

Obtained from FreeBSD via Liam J. Foy <liamfoy@kerneled.org>

15 years agoRemove usage of NTOHS / NTOHL / HTONS / HTONL.
Joerg Sonnenberger [Fri, 23 Jul 2004 14:14:30 +0000 (14:14 +0000)]
Remove usage of NTOHS / NTOHL / HTONS / HTONL.

Discussed-with: hmp

15 years agoComment out extra token at end of #endif.
Joerg Sonnenberger [Fri, 23 Jul 2004 14:09:31 +0000 (14:09 +0000)]
Comment out extra token at end of #endif.

15 years agoInstead of casting the function, cast the argument to the (correct) type.
Joerg Sonnenberger [Fri, 23 Jul 2004 14:07:46 +0000 (14:07 +0000)]
Instead of casting the function, cast the argument to the (correct) type.

15 years agoIt is 'estcpu', not 'setcpu'.
Hiten Pandya [Fri, 23 Jul 2004 13:19:42 +0000 (13:19 +0000)]
It is 'estcpu', not 'setcpu'.

15 years agoFix build with gcc34.
Eirik Nygaard [Fri, 23 Jul 2004 13:03:20 +0000 (13:03 +0000)]
Fix build with gcc34.

Reported by: Simon 'corecode' Schubert <corecode@fs.ei.tum.de>

15 years agoAdd RC4 to the crypto module / device. This will be used by the generic
Joerg Sonnenberger [Fri, 23 Jul 2004 11:54:14 +0000 (11:54 +0000)]
Add RC4 to the crypto module / device. This will be used by the generic
802.11 layer.

15 years agoRegenerate.
Joerg Sonnenberger [Fri, 23 Jul 2004 11:46:50 +0000 (11:46 +0000)]
Regenerate.

15 years agoSync with FreeBSD 5-CURRENT.
Joerg Sonnenberger [Fri, 23 Jul 2004 11:46:09 +0000 (11:46 +0000)]
Sync with FreeBSD 5-CURRENT.

15 years agoAdd WARNS and set to level 3.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 09:26:08 +0000 (09:26 +0000)]
Add WARNS and set to level 3.

15 years agoInitialise to NULL to silence gcc.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 09:24:00 +0000 (09:24 +0000)]
Initialise to NULL to silence gcc.

15 years agoMake the second argument of interval() const, since it is not changed
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:57:48 +0000 (07:57 +0000)]
Make the second argument of interval() const, since it is not changed
at all in its use.

15 years agoFix two sign comparison mistakes.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:43:26 +0000 (07:43 +0000)]
Fix two sign comparison mistakes.

Synchronises with: FreeBSD v1.15 with the notable exception of making
i an unsigned integer since it need not be negative
and casting nhosts (a size_t and thus unsigned) to
it is just the other way around and throws away half
of the type.  Granted, the chance that you have more
than 2147483647 hosts (if assuming 32 bit) is a bit
much, nonetheless, this is the right way to do it in
my opinion.

15 years agoUse proper ANSI function definitions.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:24:35 +0000 (07:24 +0000)]
Use proper ANSI function definitions.

Synchronises with: FreeBSD v1.15
Submitted by: Douwe Kiela <virtus@wanadoo.nl> (in principle)

15 years agoUnify the input handling of the low-level network stack by introducing
Joerg Sonnenberger [Fri, 23 Jul 2004 07:16:31 +0000 (07:16 +0000)]
Unify the input handling of the low-level network stack by introducing
a new field if_input in struct ifnet.

Initialize if_input and if_output in the low-level _ifattach routines.

Make the _output and _input routines static, they are now called via
(*ifp->if_input) and (*ifp->if_output) accordingly. The exception is
ether_input which is still used with the second argument, the pointer
to the Ethernet header instead of always taking it from the mbuf.

Move the if_attach and bpfattach from the devices into fddi_ifattach,
atm_ifattach.

Remove the first argument to VLAN_INPUT_TAG, the pointer to the
Ethernet header. Expect it at the beginning of the mbuf.

Adjust the network for the changed API. Exceptions are wl(4), le(4),
ie(4), el(4), ed(4) and de(4), because they use a on-stack Ethernet
header. Another exception is the ATM stack, which uses a fourth argument
to atm_input.

Inspired-by: NetBSd net/if.h, rev 1.36
15 years agoMove a perror() to warn().
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:12:28 +0000 (07:12 +0000)]
Move a perror() to warn().

Synchronises with: FreeBSD v1.29 (partially)
Submitted by: Douwe Kiela <virtus@wanadoo.nl>

15 years agoUse err() instead of a perror()/exit() combination.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 07:11:03 +0000 (07:11 +0000)]
Use err() instead of a perror()/exit() combination.

Synchronises with: FreeBSD v1.52 (partially)
Submitted by: Douwe Kiela <virtus@wanadoo.nl>

15 years agoAssorted spelling fixes from Christian Brueffer <brueffer@freebsd.org>.
Hiten Pandya [Fri, 23 Jul 2004 06:43:05 +0000 (06:43 +0000)]
Assorted spelling fixes from Christian Brueffer <brueffer@freebsd.org>.

15 years agoCorrect usage of the cvsup command.
Jeroen Ruigrok/asmodai [Fri, 23 Jul 2004 06:36:47 +0000 (06:36 +0000)]
Correct usage of the cvsup command.

Submitted by: Douwe Kiela <virtus@wanadoo.nl>

15 years agoAdd new options to select different registries, basically synch'ing us
Hiten Pandya [Fri, 23 Jul 2004 06:29:27 +0000 (06:29 +0000)]
Add new options to select different registries, basically synch'ing us
with FreeBSD.

Document the newly added options in the manual page.

Obtained from FreeBSD via Liam J. Foy <liamfoy@kerneled.org>.

15 years agoRespect locale settings from the environment.
Hiten Pandya [Fri, 23 Jul 2004 06:24:27 +0000 (06:24 +0000)]
Respect locale settings from the environment.

Obtained from FreeBSD via Liam J. Foy <liamfoy@kerneled.org>.

15 years agoMechanically kill hard sentence breaks.
Hiten Pandya [Fri, 23 Jul 2004 06:23:06 +0000 (06:23 +0000)]
Mechanically kill hard sentence breaks.

Obtained from FreeBSD, via Liam J. Foy <liamfoy@kerneled.org>.

15 years agoForced commit to note that this fixes was submitted by: "Liam J. Foy"
Eirik Nygaard [Thu, 22 Jul 2004 14:50:19 +0000 (14:50 +0000)]
Forced commit to note that this fixes was submitted by: "Liam J. Foy"
<liamfoy@sepulcrum.org>

15 years ago * Remove one of the two err.h include statements.
Eirik Nygaard [Thu, 22 Jul 2004 14:49:15 +0000 (14:49 +0000)]
 * Remove one of the two err.h include statements.
 * errx() adds it's own newline, remove the one in the string.

15 years agoFix compiler warnings; include <sys/types.h> and <netinet/in.h> to satisfy
Hiten Pandya [Thu, 22 Jul 2004 14:30:07 +0000 (14:30 +0000)]
Fix compiler warnings; include <sys/types.h> and <netinet/in.h> to satisfy
<arpa/inet.h> header file.

15 years agoInclude <sys/types.h> and <netinet/in.h>, so that parse.y gets the correct
Hiten Pandya [Thu, 22 Jul 2004 14:05:07 +0000 (14:05 +0000)]
Include <sys/types.h> and <netinet/in.h>, so that parse.y gets the correct
definitions; also fix compiler warnings.

15 years agoRaise WARNS to level 6.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:42:24 +0000 (13:42 +0000)]
Raise WARNS to level 6.

15 years agoMake usage() static.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:42:06 +0000 (13:42 +0000)]
Make usage() static.

Found by: cscout

15 years agoRework the WARNS levels per FreeBSD's CURRENT source.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:41:25 +0000 (13:41 +0000)]
Rework the WARNS levels per FreeBSD's CURRENT source.
This introduces WARNS level 2, 3, and 5.
Tested with: GCC 2.95.4

15 years agoActually mark the function itself static as well.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:19:26 +0000 (13:19 +0000)]
Actually mark the function itself static as well.

15 years agoMark filescope functions static.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 13:09:02 +0000 (13:09 +0000)]
Mark filescope functions static.

Found by: cscout

15 years agoMark the variables defined at file scope static.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:56:58 +0000 (12:56 +0000)]
Mark the variables defined at file scope static.

15 years agoGarbage collect two unused variables (SaveFs, CountCopiedBytes).
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:35:11 +0000 (12:35 +0000)]
Garbage collect two unused variables (SaveFs, CountCopiedBytes).

Found by: cscout

15 years agoMake setthetime() static per the prototype.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:23:54 +0000 (12:23 +0000)]
Make setthetime() static per the prototype.

Found by: cscout

15 years agoAlso mark the function itself static, not just the prototype.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:23:05 +0000 (12:23 +0000)]
Also mark the function itself static, not just the prototype.

15 years agoMake scanfiles() static since it is limited to the file scope.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 12:20:25 +0000 (12:20 +0000)]
Make scanfiles() static since it is limited to the file scope.

Found by: cscout

15 years agoMake f_stream static.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:52:33 +0000 (11:52 +0000)]
Make f_stream static.

Found by: cscout

15 years agoUse static on file scoped function prototypes and variables.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:49:38 +0000 (11:49 +0000)]
Use static on file scoped function prototypes and variables.

Found by: cscout

15 years agoGarbage collect RETAINBITS, not used anywhere.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:41:56 +0000 (11:41 +0000)]
Garbage collect RETAINBITS, not used anywhere.

Found by: cscout

15 years agoMake unit_adjust() static as per its prototype.
Jeroen Ruigrok/asmodai [Thu, 22 Jul 2004 11:39:02 +0000 (11:39 +0000)]
Make unit_adjust() static as per its prototype.

Found by: cscout

15 years agoDragonFly MP support, not fbsd anymore.
David Rhodus [Wed, 21 Jul 2004 17:19:35 +0000 (17:19 +0000)]
DragonFly MP support, not fbsd anymore.

15 years agoCleanout __FreeBSD__ defines which are not needed.
David Rhodus [Wed, 21 Jul 2004 16:13:43 +0000 (16:13 +0000)]
Cleanout __FreeBSD__ defines which are not needed.

15 years agoCleanout __FreeBSD__ defines which we don't need.
David Rhodus [Wed, 21 Jul 2004 15:28:16 +0000 (15:28 +0000)]
Cleanout __FreeBSD__ defines which we don't need.

15 years agoRemove __FreeBSD__ defines which were not needed and caused compile
David Rhodus [Wed, 21 Jul 2004 15:26:20 +0000 (15:26 +0000)]
Remove __FreeBSD__ defines which were not needed and caused compile
time warnings.

15 years agoRemove unused variable _PATCHES.
Joerg Sonnenberger [Wed, 21 Jul 2004 13:34:27 +0000 (13:34 +0000)]
Remove unused variable _PATCHES.

15 years agoAesthatical change, move 'All rights reserved' to the same line as
Hiten Pandya [Wed, 21 Jul 2004 12:44:25 +0000 (12:44 +0000)]
Aesthatical change, move 'All rights reserved' to the same line as
the Copyright.

15 years agoAdd handling of patches to the module framework.
Joerg Sonnenberger [Wed, 21 Jul 2004 10:45:21 +0000 (10:45 +0000)]
Add handling of patches to the module framework.

15 years agoDocument PCIY_xxx.
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 07:21:01 +0000 (07:21 +0000)]
Document PCIY_xxx.
Synchs with FreeBSD v1.34.

15 years agoInspired by rev 1.33 of FreeBSD, but which was not documented:
Jeroen Ruigrok/asmodai [Wed, 21 Jul 2004 07:15:37 +0000 (07:15 +0000)]
Inspired by rev 1.33 of FreeBSD, but which was not documented:

remove unused definitions (thanks to glimpse for verification)