[Opensrf-commits] r1606 - trunk/include/opensrf

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 16:51:54 EST 2009


Author: scottmk
Date: 2009-01-08 16:51:50 -0500 (Thu, 08 Jan 2009)
New Revision: 1606

Modified:
   trunk/include/opensrf/osrf_prefork.h
Log:
Prepare for #inclusion in C++


Modified: trunk/include/opensrf/osrf_prefork.h
===================================================================
--- trunk/include/opensrf/osrf_prefork.h	2009-01-08 21:43:23 UTC (rev 1605)
+++ trunk/include/opensrf/osrf_prefork.h	2009-01-08 21:51:50 UTC (rev 1606)
@@ -17,6 +17,9 @@
 #include <opensrf/osrf_settings.h>
 #include <opensrf/osrfConfig.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* we receive data.  we find the next child in
 	line that is available.  pass the data down that childs pipe and go
@@ -31,4 +34,8 @@
 
 int osrf_prefork_run(const char* appname);
 
+#ifdef __cplusplus
+}
 #endif
+
+#endif



More information about the opensrf-commits mailing list