Commit Graph

32322 Commits

Author SHA1 Message Date
bouyer 6ab3092b11 Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
mycroft daa885fdce Fix another white space glitch. 1997-10-09 15:19:48 +00:00
mycroft eefe653830 Clean up some minor white space nonsense in the output. 1997-10-09 15:13:19 +00:00
mycroft a377886de6 Make the output more KNF-like, and only output the inlining variables when
needed.
1997-10-09 15:12:24 +00:00
lukem 5542a7ca43 - define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
  cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
1997-10-09 14:36:17 +00:00
lukem 4baee3e06e fix mistake in previous commit (added too many __RCSID/#endif lines 1997-10-09 14:31:59 +00:00
lukem 6112a51e58 use __RCSID() 1997-10-09 14:21:19 +00:00
lukem 0a48c27c48 WARNSify 1997-10-09 13:52:40 +00:00
oki 15d57c4473 Oops, fixed error in previous commit. 1997-10-09 13:26:18 +00:00
bouyer 7052d78b8d Ext2 metadata are always stored on disk in little-endian byte order,
so do byte-swapping on big-endian system. The byte-swap routines are in
fsck/bswap.c because they will also be used in fsck_ffs in future.
Tested on i386 and sparc.
1997-10-09 13:19:32 +00:00
oki deff7d5471 Added prototype. 1997-10-09 13:19:26 +00:00
mycroft 4383ea0b92 Make openstr[] const. 1997-10-09 13:12:01 +00:00
mycroft 57f5a4a68d Add another bit of const poisoning. 1997-10-09 13:05:59 +00:00
mycroft 8579e3480d Make memname[] const (but only shallow, since the array may be modified). 1997-10-09 13:02:18 +00:00
oki a6a631ac6c Added missing prototype. 1997-10-09 13:00:49 +00:00
mycroft 64d080efe0 Make various standard wmesg strings const. 1997-10-09 12:59:50 +00:00
oki a947a7eff9 Remove __BDEVSW_DUMP_OLD_TYPE. 1997-10-09 12:59:23 +00:00
oki 2ce1763013 Prototype spl0(). 1997-10-09 12:58:31 +00:00
mycroft 7f35228e7e Make wmesg arguments to various functions const. 1997-10-09 12:49:44 +00:00
lukem 4971f40228 add dependancies so that "make depend" isn't required, remove WARNS from here 1997-10-09 12:43:57 +00:00
lukem 6fffd559bd WARNSify (not yet tested on all platforms yet) 1997-10-09 12:29:21 +00:00
lukem ae6b9c674a WARNSify 1997-10-09 11:58:15 +00:00
lukem 118c71a6fa rcsid facism, WARNSify 1997-10-09 11:34:16 +00:00
lukem 038f3f9a9b WARNSify if -DDEBUG 1997-10-09 11:34:15 +00:00
lukem 41f0dee6a6 rcsid facism, WARNSify 1997-10-09 11:33:05 +00:00
mycroft c0ce02a936 Use __const rather than const for sys_errlist, so it DTRT with -traditional.
Also, make sys_nerr __const.  Partly from Todd Vierling in PR 4151.
1997-10-09 11:33:03 +00:00
lukem 61187201c6 rcsid facism, WARNSify 1997-10-09 11:31:07 +00:00
mycroft 7b360ef2b7 Make _sys_nerr const. 1997-10-09 11:31:05 +00:00
lukem dd7adfbf0c rcsid facism, WARNSify 1997-10-09 11:27:48 +00:00
lukem 63c78f81c9 WARNSify 1997-10-09 11:27:47 +00:00
lukem bee8515057 rcsid facism, WARNSify 1997-10-09 11:26:55 +00:00
lukem 6a76908aad WARNSify 1997-10-09 11:24:59 +00:00
agc faf7739143 s/sed/${SED}/g
Change <$ARCH> into bsd.port.mk's ${ARCH} value (uname -m) when
constructing the derived PLIST, so that we can use packages on
non-i386 NetBSD architectures and have the correct file names in the
installed inventory.
1997-10-09 10:38:13 +00:00
lukem 06795b86a7 rcsid police, deprecate some use of register 1997-10-09 10:28:43 +00:00
lukem e37aec676a rcsid facism, WARNSify 1997-10-09 10:20:07 +00:00
lukem 2a55b0f192 rcsid police 1997-10-09 10:07:40 +00:00
jtc 4c9d6e4d9c Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:58:45 +00:00
jtc 1bcecdd613 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:48:33 +00:00
jtc 4229acf79d Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:37:20 +00:00
drochner 593f9e43c2 Fix error handling - call wakeup() in error case too. 1997-10-09 08:35:13 +00:00
jtc da7890c526 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:31:58 +00:00
mycroft 89459d366f Fix many more formatting bugs, and add a section on activating the debugger. 1997-10-09 08:31:45 +00:00
jtc 55baa7c0f7 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:30:09 +00:00
jtc d6ae2cd7fd Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:03:42 +00:00
mrg 38811f7fea document -d, -s. remove bogus #port. fix getopt(). 1997-10-09 07:58:39 +00:00
jtc 11a27a1132 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:57:17 +00:00
mycroft 1e19a3dbbe Fix a few formatting bugs. 1997-10-09 07:51:46 +00:00
jtc 2ff9e92859 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:50:22 +00:00
jtc 324ce8d6cb Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:37:50 +00:00
mycroft c04eacd743 Fix format of description line. 1997-10-09 07:37:09 +00:00