r40: made c++ compatible
[ctsim.git] / include / pol.h
index b7a484b9135406e3c07320b2fc30339d5eee8b66..2d8932440dc04fd7129fd79ceb0b15262ccd12fc 100644 (file)
@@ -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 ***
 **
 #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