Mercurial > hg-stable
changeset 31682:58d4622bc1ef
statfs: rename pygetfstype to getfstype
There's no ambiguity now.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 25 Mar 2017 17:24:11 +0900 |
parents | f7aeb1f4b110 |
children | 1ed57a7dd904 |
files | mercurial/osutil.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 */