[Zope-Checkins] CVS: Zope2 - Splitter.c:1.17
shane@digicool.com
shane@digicool.com
Wed, 23 May 2001 14:18:46 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory korak.digicool.com:/tmp/cvs-serv14188
Modified Files:
Splitter.c
Log Message:
Silenced gcc warnings
--- Updated File Splitter.c in package Zope2 --
--- Splitter.c 2001/03/21 22:06:32 1.16
+++ Splitter.c 2001/05/23 18:18:45 1.17
@@ -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$";