diff options
author | dholland <dholland@NetBSD.org> | 2008-02-03 21:24:58 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-02-03 21:24:58 +0000 |
commit | 350aac765d3e94494f9b3db3a16f3b09d454bd5b (patch) | |
tree | 2846227f36e683b4687ad4fc15df7bcc81d6e940 /larn/extern.h | |
parent | 55b806c4924f962dafc951ce61d022e5123a636d (diff) | |
download | bsdgames-darwin-350aac765d3e94494f9b3db3a16f3b09d454bd5b.tar.gz bsdgames-darwin-350aac765d3e94494f9b3db3a16f3b09d454bd5b.tar.zst bsdgames-darwin-350aac765d3e94494f9b3db3a16f3b09d454bd5b.zip |
Once upon a time, larn 12.0 had functions named getchar() and putchar()
that conflicted with libc. We changed them to lgetchar() and xputchar()
respectively; larn 12.2 changed them to ttgetch() and ttputch(). After
reflecting on this for a while I've decided to adopt the larn 12.2
names; not so much for compatibility but for consistency going forward.
So, massrename them. Also make ttputch() static.
Diffstat (limited to 'larn/extern.h')
-rw-r--r-- | larn/extern.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/larn/extern.h b/larn/extern.h index 9b342a45..dba6a213 100644 --- a/larn/extern.h +++ b/larn/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.9 2008/02/03 20:11:04 dholland Exp $ */ +/* $NetBSD: extern.h,v 1.10 2008/02/03 21:24:58 dholland Exp $ */ /* * Copyright (c) 1997 Christos Zoulas. All rights reserved. @@ -109,7 +109,7 @@ void retcont(void); /* io.c */ void setupvt100(void); void clearvt100(void); -int lgetchar(void); +int ttgetch(void); void scbr(void); void sncbr(void); void newgame(void); @@ -136,7 +136,6 @@ void cl_dn(int, int); void standout(const char *); void set_score_output(void); void lflush(void); -int xputchar(int); char *tmcapcnv(char *, char *); void beep(void); |