]> arthur.barton.de Git - bup.git/commitdiff
Rename py_* functions to bup_* in lib/bup/_helpers.c.
authorRob Browning <rlb@defaultvalue.org>
Sat, 9 Oct 2010 00:53:47 +0000 (19:53 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 9 Oct 2010 00:53:47 +0000 (19:53 -0500)
Rename py_get_linux_file_attr() to bup_get_linux_file_attr().
Rename py_set_linux_file_attr() to bup_get_linux_file_attr().

lib/bup/_helpers.c

index 973de8a721cc4eee40f472958eaac5cc1a17b3e0..1d0e72ac4d000d1ce2a4fca993149c44699cf0e3 100644 (file)
@@ -200,7 +200,7 @@ static PyObject *fadvise_done(PyObject *self, PyObject *args)
 }
 
 
-static PyObject *py_get_linux_file_attr(PyObject *self, PyObject *args)
+static PyObject *bup_get_linux_file_attr(PyObject *self, PyObject *args)
 {
     int rc;
     unsigned long attr;
@@ -227,7 +227,7 @@ static PyObject *py_get_linux_file_attr(PyObject *self, PyObject *args)
 }
 
 
-static PyObject *py_set_linux_file_attr(PyObject *self, PyObject *args)
+static PyObject *bup_set_linux_file_attr(PyObject *self, PyObject *args)
 {
     int rc;
     unsigned long attr;
@@ -386,9 +386,9 @@ static PyMethodDef helper_methods[] = {
        "open() the given filename for read with O_NOATIME if possible" },
     { "fadvise_done", fadvise_done, METH_VARARGS,
        "Inform the kernel that we're finished with earlier parts of a file" },
-    { "get_linux_file_attr", py_get_linux_file_attr, METH_VARARGS,
+    { "get_linux_file_attr", bup_get_linux_file_attr, METH_VARARGS,
       "Return the Linux attributes for the given file." },
-    { "set_linux_file_attr", py_set_linux_file_attr, METH_VARARGS,
+    { "set_linux_file_attr", bup_set_linux_file_attr, METH_VARARGS,
       "Set the Linux attributes for the given file." },
 #ifdef HAVE_BUP_UTIMENSAT
     { "utimensat", bup_utimensat, METH_VARARGS,