From 88225518d23496e2d38572cf1a6eee43931a23f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 1 Jun 2010 11:43:20 +0200
Subject: [PATCH] Added some PMOD_EXPORTs for support of WIN32.

Rev: src/cyclic.c:1.14
Rev: src/cyclic.h:1.10
---
 src/cyclic.c | 14 +++++++-------
 src/cyclic.h | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/cyclic.c b/src/cyclic.c
index 216f08fcfd..4e0132cbf2 100644
--- a/src/cyclic.c
+++ b/src/cyclic.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: cyclic.c,v 1.13 2004/09/18 20:50:48 nilsson Exp $
+|| $Id: cyclic.c,v 1.14 2010/06/01 09:43:19 grubba Exp $
 */
 
 #include "global.h"
@@ -40,17 +40,17 @@ static void low_unlink_cyclic(CYCLIC *c)
   Pike_fatal("Unlink cyclic on lost cyclic struct.\n");
 }
 
-void unlink_cyclic(CYCLIC *c)
+PMOD_EXPORT void unlink_cyclic(CYCLIC *c)
 {
   UNSET_ONERROR(c->onerr);
   low_unlink_cyclic(c);
 }
 
-void *begin_cyclic(CYCLIC *c,
-		   char *id,
-		   void *th,
-		   void *a,
-		   void *b)
+PMOD_EXPORT void *begin_cyclic(CYCLIC *c,
+			       char *id,
+			       void *th,
+			       void *a,
+			       void *b)
 {
   size_t h;
   void *ret=0;
diff --git a/src/cyclic.h b/src/cyclic.h
index 58542b8f6a..934a628ff4 100644
--- a/src/cyclic.h
+++ b/src/cyclic.h
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: cyclic.h,v 1.9 2003/01/05 14:29:54 grubba Exp $
+|| $Id: cyclic.h,v 1.10 2010/06/01 09:43:20 grubba Exp $
 */
 
 #ifndef CYCLIC_H
@@ -50,12 +50,12 @@ typedef struct CYCLIC
 #define END_CYCLIC()  unlink_cyclic(&cyclic_struct__)
 
 /* Prototypes begin here */
-void unlink_cyclic(CYCLIC *c);
-void *begin_cyclic(CYCLIC *c,
-		   char *id,
-		   void *thread,
-		   void *a,
-		   void *b);
+PMOD_EXPORT void unlink_cyclic(CYCLIC *c);
+PMOD_EXPORT void *begin_cyclic(CYCLIC *c,
+			       char *id,
+			       void *thread,
+			       void *a,
+			       void *b);
 /* Prototypes end here */
 
 #endif /* CYCLIC_H */
-- 
GitLab