mycroft
704290aaa1
Deal with GCC warning.
1998-02-03 01:40:49 +00:00
mycroft
cb5f577939
Need float.h for prototypes.
1998-02-03 01:30:43 +00:00
perry
c52ced5ca9
include <unistd.h> instead of <stdlib.h> to fix a compile error caused
...
by the fact that the prototype for getopt has moved to unistd.h
1998-02-03 01:30:17 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
perry
677ae55ec2
force twoway and type out of registers in order to shut up a gcc
...
warning. What a crock!
1998-02-03 01:16:03 +00:00
mrg
111777dda2
remove getvfsbyname cruft.
1998-02-03 01:04:27 +00:00
cgd
9c46cdbef5
in ofbattach(), don't both doing an ofbprint() by hand if the root node.
...
The old ofbprint() wasn't particularly good (it forced the root node
to have a 'name' property, which apparently violates the OFW spec), and
the new one (though it normally prints more useful information) has
nothing useful to say about the root node. It's not clear to me that
'ofroot' should exist at all.
1998-02-03 00:43:46 +00:00
perry
5769bb1db8
add some fixes to realpath() that were in the old realpath.c
1998-02-02 23:33:44 +00:00
perry
e3bf6720fe
bump version -- we've added getsubopt.
1998-02-02 23:24:58 +00:00
perry
1698d73479
add realpath.3, getsubopt.[c3]
1998-02-02 23:24:03 +00:00
perry
764a8201df
realpath is now part of getcwd.c in gen/; man page moved to gen, too.
1998-02-02 23:20:35 +00:00
cgd
f98d915597
remove gross temporary hacks implemented to pacify com.c. That's
...
been done in a cleaner way by cleaning up the com.c #ifdefs some.
Software tty interrupts should be implemented on NetBSD/arm32,
but these hacks are no longer necessary to work around the lack.
1998-02-02 23:05:50 +00:00
cgd
9bffcfef75
change #ifdefs keying on "alpha" to key on "__NO_SOFT_SERIAL_INTERRUPT"
...
instead, and define that on NetBSD/alpha and NetBSD/arm32.
1998-02-02 23:01:02 +00:00
cgd
c2f42b2213
Implement a flag to indicate that the driver attached correctly.
...
This is useful in the case where an attachment's probe routine
verifies that there is indeed hardware present but something goes
"wrong" in the attach causing the device to be unusable. (Without
keeping track of this, in that case incorrect ports could be
accessed or uninitted pointers could be deferenced on open or at
other times.)
1998-02-02 22:54:55 +00:00
perry
f41c5d7661
it turns out we don't want getvfsbyname after all.
1998-02-02 22:52:15 +00:00
perry
b2e2f28353
add sys/time.h include
1998-02-02 22:36:15 +00:00
jonathan
8b8b6ca51d
garbage-collect unused MMSEG. From PR# 3898.
1998-02-02 22:21:32 +00:00
perry
883ee70d11
remove sys/featuretest.h -- why did kleink add it?
1998-02-02 22:07:54 +00:00
cgd
ac4b4ec31d
make ofbprint() use of_nodename(). cleanup.
1998-02-02 22:00:07 +00:00
cgd
5169537359
add of_nodename(), a function to stuff the last component of a node's
...
name into a caller-provided buffer (helpful for generating
autoconfiguration output). Also, other minor cleanup.
1998-02-02 21:56:16 +00:00
cgd
c9249eced0
add a prototype for of_nodename(), a function to stuff the last
...
component of a node's name into a caller-provided buffer (helpful
for generating autoconfiguration output).
1998-02-02 21:55:23 +00:00
jonathan
adac7274cc
Finish bi-endian support: add code to sum odd start/end bytes
...
correctly on both big and little endian systems.
From Tsubai Masanari <tsubai@iri.co.jp> in PR# 4434.
1998-02-02 21:27:17 +00:00
perry
b7b7322c68
merge lite-2
1998-02-02 21:07:13 +00:00
thorpej
2d33c2a97c
Implement OF_getproplen().
1998-02-02 21:02:30 +00:00
thorpej
69d33afe72
Prototype OF_getproplen().
1998-02-02 21:00:13 +00:00
perry
d6b87acb51
<netdb.h> -> <rpc/rpc.h>
1998-02-02 20:18:46 +00:00
perry
4ab34663db
merge lite-2 sccs id, but as per jt, don't switch to using lite-2 rune_t's
1998-02-02 17:13:49 +00:00
perry
45c131a89e
Switch to using lite-2's tar.h instead of ours. The contents are
...
identical, but lite-2's has comments explaining them, which makes it
superior to jt's tar.h. no functional difference.
1998-02-02 17:10:19 +00:00
perry
a141abe41d
merge lite-2
1998-02-02 16:32:57 +00:00
kleink
ea1a5dbd26
Per XPG4.2, move the prototypes of bcmp(), bcopy(), bzero(), ffs(), index(),
...
rindex(), strcasecmp() and strncasecmp() to <strings.h>. For now, include
<strings.h> to get these prototypes; this should go away eventually.
Also, protect the prototypes of strtok_r() and strsep().
1998-02-02 16:15:07 +00:00
kleink
7d9fe293d7
Rework this header to be XPG4.2-compliant: provide the symbols and prototypes
...
defined in the spec, and don't include the whole <string.h> header.
1998-02-02 15:59:13 +00:00
kleink
0c544a72e5
First cut of a header file to reduce the complexity of preprocessor-symbol-based
...
feature selection.
For now, define _POSIX_C_SOURCE to 1 if absent but _POSIX_SOURCE is defined.
1998-02-02 15:53:56 +00:00
christos
60315cbc81
Does not need -lcompat
1998-02-02 14:10:45 +00:00
mrg
7b983ca6d5
merge lite2, sans getvfsbyname in functions.c (waiting on libc)
1998-02-02 14:02:06 +00:00
jonathan
e50f17aab7
Delete incorrect private declaration of db_maxoff.
1998-02-02 12:49:15 +00:00
mrg
ba9b160fd5
merge in lite2 rcsids and a couple of man page fixes we had not yet found.
1998-02-02 11:53:07 +00:00
hubertf
3089cbdaf0
Introduce TRUE?=/usr/bin/true, and use it.
1998-02-02 08:11:49 +00:00
mikel
181489ecb5
updates from Steve Allen in PR misc/4892
1998-02-02 07:50:11 +00:00
mikel
fcc8ca0f4e
add /etc/ld.so.conf, from Steve Allen in PR misc/4892
1998-02-02 07:34:17 +00:00
mikel
d64c301ef9
header & manpage updates; from Steve Allen in PR misc/4892
1998-02-02 07:31:42 +00:00
mikel
82454f0de6
share/examples/amd & share/man/{cat,man}{4,9}/sun3x, PR misc/4892
1998-02-02 07:14:53 +00:00
mikel
a285b11124
update libc version to 12.24, from Steve Allen in PR misc/4892
1998-02-02 07:12:25 +00:00
mikel
b545bd186c
Don't print "DOS partition initialized" if -S set; from Nathan
...
Williams in PR bin/4893.
1998-02-02 06:39:41 +00:00
perry
9f6c3e59aa
merge lite-2
1998-02-02 06:26:33 +00:00
mikel
ff5b8d6f01
move comments to lines of their own as required by aliases(5) format;
...
from NAKAJIMA Yoshihiro in PR misc/4896 with some minor modifications.
1998-02-02 06:14:45 +00:00
sakamoto
d5e690b8b7
Eliminate __BROKEN_INDIRECT_CONFIG
1998-02-02 05:54:20 +00:00
perry
74e3014eb4
merge lite-2
1998-02-02 05:49:52 +00:00
perry
a5c24028fa
merge lite-2
1998-02-02 05:20:24 +00:00
sakamoto
f94197be4a
Eliminate unnecessary define.
1998-02-02 05:17:40 +00:00
sakamoto
56620b3054
Move "read clock information from bootinfo" to initppc() from cpu_initclocks()
...
for delay() before cpu_initclocks().
Sync with powerpc/powerpc/machdep.c.
1998-02-02 04:59:19 +00:00