summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/linuxaudiodev.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/Modules/linuxaudiodev.c b/Modules/linuxaudiodev.c
index e52e242..6a1c5ff 100644
--- a/Modules/linuxaudiodev.c
+++ b/Modules/linuxaudiodev.c
@@ -64,8 +64,6 @@ newladobject(PyObject *arg)
int fd, afmts, imode;
char *mode;
char *basedev;
- char *ctldev;
- char *opendev;
/* Check arg for r/w/rw */
if (!PyArg_ParseTuple(arg, "s:open", &mode)) return NULL;
@@ -385,17 +383,6 @@ static PyMethodDef linuxaudiodev_methods[] = {
{ 0, 0 },
};
-static int
-ins(PyObject *d, char *symbol, long value)
-{
- PyObject* v = PyInt_FromLong(value);
- if (!v || PyDict_SetItemString(d, symbol, v) < 0)
- return -1; /* triggers fatal error */
-
- Py_DECREF(v);
- return 0;
-}
-
void
initlinuxaudiodev()
{