X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fcio.h;h=4e83202af2344909f4cc22fbb90263642237647a;hp=1d14b89e1bba3a8a833c7a5c46fd87bae30be3e6;hb=031437896d0dc6cac70c16e5604b10f5aa4d0767;hpb=c481fbf2890e6e3a0a5479a9e53e685634ce411a diff --git a/include/cio.h b/include/cio.h index 1d14b89..4e83202 100644 --- a/include/cio.h +++ b/include/cio.h @@ -2,26 +2,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: cio.h,v 1.8 2000/06/05 01:32:45 kevin Exp $ -** $Log: cio.h,v $ -** Revision 1.8 2000/06/05 01:32:45 kevin -** Added C++ compatibility -** -** Revision 1.7 2000/05/08 20:45:10 kevin -** *** empty log message *** -** -** Revision 1.6 2000/05/08 20:00:47 kevin -** ANSI C changes -** -** Revision 1.5 2000/05/07 12:46:19 kevin -** made c++ compatible -** -** Revision 1.4 2000/04/28 18:18:59 kevin -** removed unused files -** -** Revision 1.3 2000/04/28 14:14:16 kevin -** *** empty log message *** -** +** $Id: cio.h,v 1.9 2000/06/13 16:20:31 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -39,10 +20,6 @@ #ifndef __CIO_H #define __CIO_H -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - #define C_BLACK 0 /* color codes */ #define C_BLUE 1 @@ -70,23 +47,19 @@ extern "C" { #define SC_BLANK ' ' -/* audio.c */ +/* audio.cpp */ void cio_beep(void); void cio_tone(double freq, double length); -/* crtput.c */ +/* crtput.cpp */ void cio_put_c(int c); void cio_put_cc(int c, int count); void cio_put_str(const char *str); -/* kbget.c */ +/* kbget.cpp */ unsigned int cio_kb_getc(void); void cio_kb_ungetc(unsigned int c); char *cio_kb_gets(char *str, int maxlen); unsigned int cio_kb_waitc(const char *astr, int beep); -#ifdef __cplusplus -} -#endif /* _cplusplus */ - #endif