diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-06-02 19:47:13 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-06-02 19:47:13 +0000 |
commit | 53bde7aa54dba785761adf2e07bce713745dca5c (patch) | |
tree | 1a25d53d4d9eacde0eb46375ec056b291107f010 /games/mille/save.c | |
parent | 1ff7940dde0b51ff9be56ffa751f4a93c90d65e5 (diff) |
Update for modern curses implementation
Diffstat (limited to 'games/mille/save.c')
-rw-r--r-- | games/mille/save.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/games/mille/save.c b/games/mille/save.c index 1e0ad47e5b6..c339fedd231 100644 --- a/games/mille/save.c +++ b/games/mille/save.c @@ -47,10 +47,6 @@ static char rcsid[] = "$NetBSD: save.c,v 1.4 1995/03/24 05:02:13 cgd Exp $"; #include <termios.h> #include "mille.h" -#ifndef unctrl -#include "unctrl.h" -#endif - # ifdef attron # include <term.h> # define _tty cur_term->Nttyb @@ -73,9 +69,9 @@ int read(), write(); save() { extern int errno; - reg char *sp; - reg int outf; - reg time_t *tp; + register char *sp; + register int outf; + register time_t *tp; char buf[80]; time_t tme; STAT junk; @@ -149,10 +145,10 @@ over: * be cleaned up before the game starts. */ rest_f(file) -reg char *file; { +register char *file; { - reg char *sp; - reg int inf; + register char *sp; + register int inf; char buf[80]; STAT sbuf; |