]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/python.c
- Fix new Python code to work for Director.
[bacula/bacula] / bacula / src / stored / python.c
index 00e95f78ad2c0ee21bf22311a2746e19559c2876..aa9e7e86a1ea64ec40975429e9f5e357e5744bab 100644 (file)
@@ -36,7 +36,8 @@
 #include <Python.h>
 
 extern JCR *get_jcr_from_PyObject(PyObject *self);
-extern PyObject *find_method(PyObject *eventsObject, PyObject *method, char *name);
+extern PyObject *find_method(PyObject *eventsObject, PyObject *method, 
+         const char *name);
 
 static PyObject *jcr_get(PyObject *self, PyObject *args);
 static PyObject *jcr_write(PyObject *self, PyObject *args);