From 9d710847edaeadf21b2d6f8b44bb45ea1cd5ab32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Wallstr=C3=B6m?= <stewa@roxen.com>
Date: Tue, 11 Sep 2012 09:04:22 +0200
Subject: [PATCH] Core: Export the symbol o_index()

Needed by Oracle module.
---
 src/operators.c | 2 +-
 src/operators.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/operators.c b/src/operators.c
index 169c0f8d28..7f172bc744 100644
--- a/src/operators.c
+++ b/src/operators.c
@@ -165,7 +165,7 @@ void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)
   }
 }
 
-void o_index(void)
+PMOD_EXPORT void o_index(void)
 {
   struct svalue s;
   index_no_free(&s,sp-2,sp-1);
diff --git a/src/operators.h b/src/operators.h
index 6bc24d10d5..b530c2410e 100644
--- a/src/operators.h
+++ b/src/operators.h
@@ -34,7 +34,7 @@ struct string_assignment_storage
 
 /* Prototypes begin here */
 void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind);
-void o_index(void);
+PMOD_EXPORT void o_index(void);
 PMOD_EXPORT void o_cast_to_int(void);
 PMOD_EXPORT void o_cast_to_string(void);
 PMOD_EXPORT void o_cast(struct pike_type *type, INT32 run_time_type);
-- 
GitLab