summaryrefslogtreecommitdiff
path: root/psycopg/adapter_datetime.c
diff options
context:
space:
mode:
authorJames Henstridge <james@jamesh.id.au>2008-01-13 16:05:59 +0000
committerJames Henstridge <james@jamesh.id.au>2008-01-13 16:05:59 +0000
commitf18881983bbf021b226d2aee1961a6fe1605af29 (patch)
treeedd3a8dd41aa93259bba263313753d2d549d7197 /psycopg/adapter_datetime.c
parent7d80c05748ae8ebb4cda0ecfef2919751f6170e8 (diff)
downloadpsycopg2-f18881983bbf021b226d2aee1961a6fe1605af29.tar.gz
* psycopg/typecast_array.c (typecast_array_scan): set an initial
value for quotes to keep gcc happy. * psycopg/*.c: add missing static modifier on many functions.
Diffstat (limited to 'psycopg/adapter_datetime.c')
-rw-r--r--psycopg/adapter_datetime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/psycopg/adapter_datetime.c b/psycopg/adapter_datetime.c
index a960943..b2b0555 100644
--- a/psycopg/adapter_datetime.c
+++ b/psycopg/adapter_datetime.c
@@ -79,14 +79,14 @@ pydatetime_str(pydatetimeObject *self)
}
}
-PyObject *
+static PyObject *
pydatetime_getquoted(pydatetimeObject *self, PyObject *args)
{
if (!PyArg_ParseTuple(args, "")) return NULL;
return pydatetime_str(self);
}
-PyObject *
+static PyObject *
pydatetime_conform(pydatetimeObject *self, PyObject *args)
{
PyObject *res, *proto;