summaryrefslogtreecommitdiff
path: root/gpsclient.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-17 16:00:20 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-17 16:00:20 -0400
commit138c5eb5690cf20ce616609b73e75855f14bde0c (patch)
tree9b942054d6d75c9d1796fdcad0a5840fc623f5be /gpsclient.c
parente4be4c580097832da44c492f6b2ff4ecd520f5a5 (diff)
downloadgpsd-138c5eb5690cf20ce616609b73e75855f14bde0c.tar.gz
Banish some pointless compiler warnings.
Diffstat (limited to 'gpsclient.c')
-rw-r--r--gpsclient.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gpsclient.c b/gpsclient.c
index 85269688..8b952fbf 100644
--- a/gpsclient.c
+++ b/gpsclient.c
@@ -15,7 +15,7 @@
*/
static PyObject *
-gpsclient_deg_to_str(PyObject *self, PyObject *args)
+gpsclient_deg_to_str(PyObject *self UNUSED, PyObject *args)
{
int fmt;
double degrees;
@@ -26,7 +26,7 @@ gpsclient_deg_to_str(PyObject *self, PyObject *args)
}
static PyObject *
-gpsclient_gpsd_units(PyObject *self, PyObject *args)
+gpsclient_gpsd_units(PyObject *self UNUSED, PyObject *args)
{
if (!PyArg_ParseTuple(args, ""))
return NULL;
@@ -38,7 +38,7 @@ gpsclient_gpsd_units(PyObject *self, PyObject *args)
*/
static PyObject *
-gpsclient_wgs84_separation(PyObject *self, PyObject *args)
+gpsclient_wgs84_separation(PyObject *self UNUSED, PyObject *args)
{
const double lat, lon;
double sep;
@@ -50,7 +50,7 @@ gpsclient_wgs84_separation(PyObject *self, PyObject *args)
}
static PyObject *
-gpsclient_maidenhead(PyObject *self, PyObject *args)
+gpsclient_maidenhead(PyObject *self UNUSED, PyObject *args)
{
const double lat, lon;
char *gs;
@@ -79,6 +79,8 @@ PyDoc_STRVAR(module_doc,
"Python wrapper for selected libgps library routines.\n\
");
+extern PyMODINIT_FUNC initclienthelpers(void);
+
PyMODINIT_FUNC
initclienthelpers(void)
{