statfs: rename pygetfstype to getfstype
authorYuya Nishihara <yuya@tcha.org>
Sat, 25 Mar 2017 17:24:11 +0900
changeset 31677 58d4622bc1ef
parent 31676 f7aeb1f4b110
child 31678 1ed57a7dd904
statfs: rename pygetfstype to getfstype There's no ambiguity now.
mercurial/osutil.c
--- a/mercurial/osutil.c	Sat Mar 25 17:23:21 2017 +0900
+++ b/mercurial/osutil.c	Sat Mar 25 17:24:11 2017 +0900
@@ -1095,7 +1095,7 @@
 
 #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS)
 /* given a directory path, return filesystem type name (best-effort) */
-static PyObject *pygetfstype(PyObject *self, PyObject *args)
+static PyObject *getfstype(PyObject *self, PyObject *args)
 {
 	const char *path = NULL;
 	struct statfs buf;
@@ -1288,7 +1288,7 @@
 	 "set process title (best-effort)\n"},
 #endif
 #if defined(HAVE_BSD_STATFS) || defined(HAVE_LINUX_STATFS)
-	{"getfstype", (PyCFunction)pygetfstype, METH_VARARGS,
+	{"getfstype", (PyCFunction)getfstype, METH_VARARGS,
 	 "get filesystem type (best-effort)\n"},
 #endif
 #endif /* ndef _WIN32 */