X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=include%2Fpol.h;h=2d8932440dc04fd7129fd79ceb0b15262ccd12fc;hb=a62ba7c54d39fcf1e469c8df169018fa60ae7c3b;hp=42afdad9a78824af3a0139628ff5e4e2154d44a7;hpb=13838bda88b63a2535b5baaf7197006767de4b8e;p=ctsim.git diff --git a/include/pol.h b/include/pol.h index 42afdad..2d89324 100644 --- a/include/pol.h +++ b/include/pol.h @@ -1,6 +1,36 @@ +/***************************************************************************** +** This is part of the CTSim program +** Copyright (C) 1983-2000 Kevin Rosenberg +** +** $Id: pol.h,v 1.3 2000/05/07 12:46:19 kevin Exp $ +** $Log: pol.h,v $ +** Revision 1.3 2000/05/07 12:46:19 kevin +** made c++ compatible +** +** Revision 1.2 2000/04/28 14:14:16 kevin +** *** empty log message *** +** +** +** 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 +** published by the Free Software Foundation. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +******************************************************************************/ #ifndef __H_POL #define __H_POL +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* codes for pol_usefile */ #define P_USE_STR 1 /* use string as input source */ @@ -89,4 +119,8 @@ void pol_ungetch(int c); int get_inputline(FILE *fp); void set_inputline(char *line); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif