* ipcdef.h: add extern "C" for linking to C++ programs
authorMichael Hampton <io_error@uncensored.citadel.org>
Mon, 30 Sep 2002 08:07:11 +0000 (08:07 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Mon, 30 Sep 2002 08:07:11 +0000 (08:07 +0000)
citadel/ChangeLog
citadel/ipcdef.h

index 0efdac8f61e1dcfe2d71221946d7f3f090d237cd..b86452a7f7bd9add938badfc3f628ce9f97bd01f 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 601.14  2002/09/30 08:07:11  error
+ * ipcdef.h: add extern "C" for linking to C++ programs
+
  Revision 601.13  2002/09/30 07:32:09  error
  * ipcdef.h: remove prototype for connection_died(), it doesn't belong there
 
@@ -4033,4 +4036,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index 8cbb12729a0602c065cc5b1d70fa652597470480..a538cbe3f30660afad431c535879022aa30683e0 100644 (file)
@@ -1,4 +1,9 @@
 /* $Id$ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define LISTING_FOLLOWS                100
 #define CIT_OK                 200
 #define MORE_DATA              300
@@ -78,5 +83,6 @@ struct CtdlServInfo {
                        US_NOPROMPT | US_DISAPPEAR | US_PAGINATOR | \
                        US_FLOORS | US_COLOR | US_PROMPTCTL )
 
-void serv_puts(char *buf);
-void serv_gets(char *buf);
+#ifdef __cplusplus
+}
+#endif