r40: made c++ compatible
[ctsim.git] / include / sgp.h
index e6a93059659bb6c4b0ee00d07649b9ace2977438..fc878ec8a04e4837b71117a12f0cc12b14e6e1e6 100644 (file)
@@ -2,8 +2,11 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sgp.h,v 1.4 2000/04/30 19:17:35 kevin Exp $
+**  $Id: sgp.h,v 1.5 2000/05/07 12:46:19 kevin Exp $
 **  $Log: sgp.h,v $
+**  Revision 1.5  2000/05/07 12:46:19  kevin
+**  made c++ compatible
+**
 **  Revision 1.4  2000/04/30 19:17:35  kevin
 **  Set up include files for conditional INTERACTIVE_GRAPHICS
 **
 #include "kstddef.h"
 #include "kmath.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+
 /* device names */
 
 #define CRTDEV  1
@@ -267,5 +275,9 @@ void wrtchar(int ch, int x, int y, CHARSPEC *cspec, DEVICE *dev);
 void wrttext(char txtstr[], int x, int y, CHARSPEC *cspec, DEVICE *dev);
 void crtcolor(int mode, int *f, int *b);
 
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
 
 #endif