From d5f8a472f11c95c719fe4868ab773866ecfdc0c5 Mon Sep 17 00:00:00 2001
From: scottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Date: Thu, 8 Jan 2009 21:43:23 +0000
Subject: [PATCH] Prepare for #inclusion in C++

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1605 9efc2488-bf62-4759-914b-345cdb29e865
---
 include/opensrf/osrf_list.h | 7 +++++++
 1 file changed, 7 insertions(+)

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
-- 
2.11.0