Commit 3e2c41f5 authored by Shane Hathaway's avatar Shane Hathaway

Silenced gcc warnings

parent 2e85b650
......@@ -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 @@ typedef struct
int index;
} Splitter;
static PyObject *next_word(Splitter *, char **, char **);
static void
Splitter_reset(Splitter *self)
{
......@@ -478,15 +478,15 @@ static char Splitter_module_documentation[] =
"\n"
"for use in an inverted index\n"
"\n"
"$Id: Splitter.c,v 1.16 2001/03/21 22:06:32 jim Exp $\n"
"$Id: Splitter.c,v 1.17 2001/05/23 18:18:45 shane Exp $\n"
;
void
initSplitter()
initSplitter(void)
{
PyObject *m, *d;
char *rev="$Revision: 1.16 $";
char *rev="$Revision: 1.17 $";
/* Create the module and add the functions */
m = Py_InitModule4("Splitter", Splitter_module_methods,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment