From: scottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Date: Thu, 8 Jan 2009 21:43:23 +0000 (+0000)
Subject: Prepare for #inclusion in C++
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d5f8a472f11c95c719fe4868ab773866ecfdc0c5;p=opensrf%2Fbjwebb.git

Prepare for #inclusion in C++


git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1605 9efc2488-bf62-4759-914b-345cdb29e865
---

diff --git a/include/opensrf/osrf_list.h b/include/opensrf/osrf_list.h
index d740686..35ec116 100644
--- a/include/opensrf/osrf_list.h
+++ b/include/opensrf/osrf_list.h
@@ -3,6 +3,10 @@
 
 #include <opensrf/utils.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define OSRF_LIST_GET_INDEX(l, i) (!l || i >= l->size) ? NULL: l->arrlist[i]
 
 /**
@@ -139,5 +143,8 @@ void osrfListSetDefaultFree( osrfList* list );
  * list if there are no null slots */
 int osrfListPushFirst( osrfList* list, void* item );
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif