diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-06 11:37:21 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-06 11:37:21 +0200 |
commit | bf7ce346d8a1ffb4fa499a2a8d70bdcfc3b2b77e (patch) | |
tree | 11a19af53767e8574c3852f7f3f5f446e9c3cc05 /psutil/_psutil_posix.c | |
parent | cb5a5fa06fb25690e1117079535c2d60207efe80 (diff) | |
download | psutil-bf7ce346d8a1ffb4fa499a2a8d70bdcfc3b2b77e.tar.gz |
C styling
Diffstat (limited to 'psutil/_psutil_posix.c')
-rw-r--r-- | psutil/_psutil_posix.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/psutil/_psutil_posix.c b/psutil/_psutil_posix.c index 21ef3fc9..284f7fc5 100644 --- a/psutil/_psutil_posix.c +++ b/psutil/_psutil_posix.c @@ -37,8 +37,7 @@ * Given a PID return process priority as a Python integer. */ static PyObject * -psutil_posix_getpriority(PyObject *self, PyObject *args) -{ +psutil_posix_getpriority(PyObject *self, PyObject *args) { long pid; int priority; errno = 0; @@ -56,8 +55,7 @@ psutil_posix_getpriority(PyObject *self, PyObject *args) * Given a PID and a value change process priority. */ static PyObject * -psutil_posix_setpriority(PyObject *self, PyObject *args) -{ +psutil_posix_setpriority(PyObject *self, PyObject *args) { long pid; int priority; int retval; @@ -396,8 +394,7 @@ int psutil_get_nic_speed(int ifm_active) { * http://www.i-scream.org/libstatgrab/ */ static PyObject * -psutil_net_if_stats(PyObject *self, PyObject *args) -{ +psutil_net_if_stats(PyObject *self, PyObject *args) { char *nic_name; int sock = 0; int ret; |