[Zope-Checkins] CVS: Zope2 - Splitter.c:1.1.2.2

Andreas Jung andreas@digicool.com
Tue, 29 May 2001 13:24:15 -0400


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src
In directory yetix:/work/sandboxes/ajung-dropin-registry/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src

Modified Files:
      Tag: ajung-dropin-registry
	Splitter.c 
Log Message:
fixed to make gcc shut up



--- Updated File Splitter.c in package Zope2 --
--- Splitter.c	2001/05/29 12:56:05	1.1.2.1
+++ Splitter.c	2001/05/29 17:24:13	1.1.2.2
@@ -89,8 +89,6 @@
 #define UNLESS(E) if(!(E))
 #define UNLESS_ASSIGN(V,E) ASSIGN(V,E) UNLESS(V)
 
-static PyObject *next_word();
-
 typedef struct 
 {
     PyObject_HEAD
@@ -99,6 +97,8 @@
     int index;
 } Splitter;
  
+static PyObject *next_word(Splitter *, char **, char **);
+
 static void
 Splitter_reset(Splitter *self)
 {
@@ -483,7 +483,7 @@
 
 
 void
-initSplitter() 
+initSplitter(void)
 {
   PyObject *m, *d;
   char *rev="$Revision$";