X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fpol.h;h=2d8932440dc04fd7129fd79ceb0b15262ccd12fc;hp=b7a484b9135406e3c07320b2fc30339d5eee8b66;hb=44ba0e9facc91003bf3ef32876f8b8ac5439c3c1;hpb=da11926c1039ae4c880915db508d69614ec7c79e diff --git a/include/pol.h b/include/pol.h index b7a484b..2d89324 100644 --- a/include/pol.h +++ b/include/pol.h @@ -2,8 +2,11 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: pol.h,v 1.2 2000/04/28 14:14:16 kevin Exp $ +** $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 *** ** @@ -24,6 +27,10 @@ #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 */ @@ -112,4 +119,8 @@ void pol_ungetch(int c); int get_inputline(FILE *fp); void set_inputline(char *line); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif