diff options
author | simonb <simonb@NetBSD.org> | 1999-12-30 01:32:33 +0000 |
---|---|---|
committer | simonb <simonb@NetBSD.org> | 1999-12-30 01:32:33 +0000 |
commit | 73356fc8566dc0d1ed801778240a6b9bca36ba5e (patch) | |
tree | 7efadf25f7f1217acbe29bb1cb49be77c5efed31 /monop/initdeck.c | |
parent | ceeddd08a6fd3d46b34f10da96158d3a857ab0f3 (diff) | |
download | bsdgames-darwin-73356fc8566dc0d1ed801778240a6b9bca36ba5e.tar.gz bsdgames-darwin-73356fc8566dc0d1ed801778240a6b9bca36ba5e.tar.zst bsdgames-darwin-73356fc8566dc0d1ed801778240a6b9bca36ba5e.zip |
Don't use any NetBSD specific features (<err.h> and friends mainly
- replaiced with local die() and dieperror() routines). Use ANSI
prototypes (no dependance on the __P() macro). Add new fwrite_be_offt()
function which writes out a big-endian 64bit number regards of the size
of off_t on the host machine. Remove unused unctrl() function.
Now builds correct fortune .dat files on non-NetBSD machines as well
- tested on Ultrix and Solaris (but Solaris needs -lsocket to get
htonl()).
Diffstat (limited to 'monop/initdeck.c')
0 files changed, 0 insertions, 0 deletions