Commit Graph

11050 Commits

Author SHA1 Message Date
bde
c0aa19d261 Fixed the type of fdesc_sync(). Trailing args were missing.
Fixed the type of fdesc_fhtovp().  The args had little resemblance to
the correct ones.

Added prototypes.
1995-11-16 10:58:35 +00:00
bde
4e038e6093 Fixed a call to the listen function. A trailing arg was missing.
Fixed the type of isdn_check().  A trailing arg was missing.

Included "conf.h" to get some prototypes.

Completed function declarations.

Added prototypes.

Removed some useless includes.
1995-11-16 10:47:21 +00:00
bde
2b83283c23 Completed function declarations.
Added prototypes.
1995-11-16 10:44:48 +00:00
bde
c571384afa Fixed the type of ity_input(). A trailing arg was missing.
Completed function declarations.

Added prototypes.

Removed some useless includes.
1995-11-16 10:35:29 +00:00
bde
9e8b85a741 Fixed the type of itel_input(). A trailing arg was missing.
Included "conf.h" to get some prototypes.

Removed some useless includes.
1995-11-16 10:22:29 +00:00
bde
fa050e26ee Fixed the types of iioutput() and ii_input(). Trailing args were missing.
Completed function declarations.
1995-11-16 10:10:50 +00:00
bde
b87785185d Included <sys/conf.h>. It used to be included as a side effect of
including <sys/devconf.h>.
1995-11-16 09:56:02 +00:00
bde
fd57258459 Fixed recent staticizations. Some protypes for static functions were
left in headers and not staticized.
1995-11-16 09:51:22 +00:00
bde
a7a396155f Fixed support for DIAGNOSTIC option. SYSCTL_INT() depends on kernel.h. 1995-11-16 09:45:23 +00:00
asami
d7bfe7937d Update list of Japanese sites to match installer's menu. Move Japan
into right place in alphabetical order (who thought it was after USA?).
Ditto for Hong Kong (H is not exactly after I in my dictionary).
1995-11-16 09:30:09 +00:00
gpalmer
4a111df1f2 Change the handling of the leapseconds so that if LEAPSECONDS isn't
defined, it doesn't call zic with -L /dev/null, and instead doesn't
use -L at all
1995-11-16 02:00:38 +00:00
joerg
ed683028f0 Dynamically allocate line buffers, instead of assuming that all the
world would fit into BUFSIZ.
1995-11-15 15:01:01 +00:00
peter
96e41a571b Fix the bug that caused the AF_UNIX domain sockets to not be shown..
(it was nlist()ing a wrong symbol name).  Only problem is that I'd grown
quite partial to the inet-only version.. :-)
1995-11-15 14:56:34 +00:00
asami
e7bb16e4e6 Dvorak keyboard users of the world unite!
us.dvorak.kbd: The "standard" (note the quotes, there really isn't any
                standard for non-alphanumeric keys in the Dvorak
                world) version, identical to what MicroSoft
                distributes in their DOS-6.22 supplementary disk.
us.dvorakx.kbd: The version I use, three pairs swapped (esc <-> `~,
                clock <-> lctrl, and =+ <-> \|) from the above.
1995-11-15 11:49:49 +00:00
dg
3a54d792b9 Correct the bogus probe for 8216/8416 cards...it was broken.
Submitted by:	Steve Piette <steve@simon.chi.il.US>
1995-11-15 07:45:56 +00:00
jkh
b8666f3ff5 Use proper emphasis formatting directives. 1995-11-15 07:44:56 +00:00
asami
47a97d12ac Minor aesthetics (changed "." to space in "cd present.[a x b records]"
and removed extraneous newline after "can't get the size").
1995-11-15 03:27:14 +00:00
asami
fb1c7bcbf7 contrib.sgml: Add my name to the "who's doing what" list.
porting.sgml: Update concerning the recent changes in pkg/COMMENT
              policy (no package name in front).
1995-11-14 23:58:43 +00:00
peter
130177c924 With the recent 'make install' change in the kernel build makefiles, an
`interesting' feature of syslogd turned up.  It calls getbootfile() for each
log entry.  Since the kernel makefile now changes kern.bootfile when doing
a 'make install', it's quite startling to see the syslog lines change.

This change makes it call getbootfile() once at startup and cache it,
saving a syscall per loop, and keeping something a little more asthetically
pleasing in /var/log/messages...
1995-11-14 23:39:39 +00:00
peter
5a136ee1a4 Add "what I'm responsible for" to the contrib.sgml file... 1995-11-14 22:29:35 +00:00
phk
010c461fbe staticize. 1995-11-14 20:53:20 +00:00
phk
440f6747ef Removed:
#include <i386/isa/isa_device.h>
 #include <i386/eisa/eisaconf.h>
 #include <pci/pcireg.h>
 #include <pci/pcivar.h>
 #include <scsi/scsi_all.h>
 #include <scsi/scsiconf.h>
they are not needed, and slows down compilation.
1995-11-14 20:52:14 +00:00
phk
abbc333b67 Fiddle with <machine/isa_device.h> 1995-11-14 20:49:24 +00:00
phk
39e0ab2a22 Do what is generally belived to be the right thing, though it may not be :-) 1995-11-14 20:43:29 +00:00
phk
db2c71245d New style sysctl & staticize alot of stuff. 1995-11-14 20:34:56 +00:00
jkh
23272197e7 Merge from 2.1 (got the direction backwards - argh!). 1995-11-14 13:54:06 +00:00
phk
adf28f3330 statizice some internal magic. 1995-11-14 10:03:56 +00:00
phk
d08180594a Staticize various private parts. 1995-11-14 09:58:47 +00:00
phk
d31da25b90 Make a lot of private stuff static 1995-11-14 09:53:17 +00:00
phk
8838e78de6 Fix a couple of printfs. 1995-11-14 09:52:25 +00:00
phk
8d3e9824b0 Final part of this bunch of sysctl commits: cleanup. 1995-11-14 09:42:22 +00:00
phk
df7c5ad2a5 Get rid of the last debug sysctl variables of the old style. 1995-11-14 09:40:06 +00:00
phk
ec15d167b9 Get rid of hostnamelen variable. 1995-11-14 09:37:22 +00:00
phk
0cd6c033b7 Move all the VM sysctl stuff home where it belongs. 1995-11-14 09:29:34 +00:00
phk
c04786d47c A couple of nitpicks. 1995-11-14 09:26:17 +00:00
phk
fb71a2c5dd Convert dumpdev & securelevel. 1995-11-14 09:22:15 +00:00
phk
dd42080c0c Change some of the debug sysctl vars. The semantics of these will change. 1995-11-14 09:19:16 +00:00
phk
f8d7b213d8 KERN_MAXFILESPERPROC, KERN_MAXFILES went to another file. 1995-11-14 09:17:32 +00:00
phk
021045a4b6 Hmm, I seem to have got all my patches screwed up anyway. Too bad.
this is where the proctable stuff went.
1995-11-14 09:16:27 +00:00
phk
c23e20dc57 Get rid of domainnamelen. 1995-11-14 09:10:54 +00:00
phk
08ab771c4d Move KERN_NTP to a more suitable file. 1995-11-14 09:07:14 +00:00
phk
32605f2bff Move the process-table stuff to a more suitable file.
Remove filetable stuff from kern_sysctl.c
1995-11-14 09:05:40 +00:00
phk
926091b331 Add new-style sysctl for KERN_FILE here. 1995-11-14 08:58:35 +00:00
bde
b9f0e11d4a Changed the first (name) arg of MOD_DEV(), MOD_EXEC() and MOD_MISC()
from a string to an identifier so that it can be used to generate
declarations and strings.  It's much easier to stringize an identifier
than to identifize a string.  A uniform naming scheme must be used
for the automatically generated things to apply.  This is a feature.

Used the module identifer to generate prototypes for the module load,
unload and stat functions.  Removed the few prototypes for these that
already existed.

Used the module identifier to generate a unique struct tag in MOD_DEV().
This should probably be done for all the MOD_*() macros.

Moved the trailing semicolon from the MOD_*() macro definitions to the
macro invocations that didn't already (bogusly) have it.

Staticized the module load and unload functions.

Added function return types for the module load, unload and stat functions.

lkm/ibcs2/ibcs2.c:
Included <sys/sysproto.h> to get everything prototyped.
Cleaned up #includes.

lkm/ibcs2/ipfw.c:
Cleaned up #includes.

lkm/linux/linux.c:
The module name had to change from "linux_emulator" to "linux_mod" to
be automatically generated.
Cleaned up #includes.

lkm/syscons/*/*_saver.c:
Completed delcarations of function pointers.

sys/i386/isa/atapi.c:
The module name had to change from "atapi" to "atapi_mod" to be
automatically generated.

sys/i386/isa/wcd.c:
Used the fixed MOD_DEV().  This module has two devices and expanded the
macro in the source instead of fixing it.
The module names had to change from "wcd" and "rwcd" to "wcd_mod" and
"rwcd_mod" to be automatically generated.

sys/pccard/pcic.c:
The module name had to change from "pcic" to "pcic_mod" to be
automatically generated.
1995-11-14 07:35:57 +00:00
markm
ebb856464a Fix stupid typo.
Pointed out by: Mark Valentine
1995-11-14 06:24:00 +00:00
bde
34f76cbd08 Included <sys/sysproto.h> to get central declarations for syscall args
structs and prototypes for syscalls.

Ifdefed duplicated decentralized declarations of args structs.  It's
convenient to have this visible but they are hard to maintain.  Some
are already different from the central declarations.  4.4lite2 puts
them in comments in the function headers but I wanted to avoid the
large changes for that.
1995-11-14 05:16:37 +00:00
peter
c140e951e5 A fix for the "cd -" coredump on a brand new /bin/sh. The problem was
noticed on a NetBSD bugs mailing list but this is entirely my own work.

Inspired by: Scott Reynolds <scottr@plexus.com>, for NetBSD
1995-11-14 01:04:52 +00:00
roberto
81160ba677 Update about the latest news about 2.1. 1995-11-13 22:53:21 +00:00
peter
b1a17792e6 Enhance the likelyhood that IPX over ppp will actually work.. :-)
Note that pppd doesn't have an ipxcp.c module for negotiating and confuguring
IPX at startup, but after these mods, you can manually ifconfig IPX addresses
on the interface and it will probably work.. :-)
1995-11-13 22:09:39 +00:00
markm
4c1319ac1e OOps, nearly missed this bit. Add the call to rndcontrol to set the
chosen interrupts for the entropy gathering  in /dev/random.
1995-11-13 21:33:04 +00:00