From ab3a162c0194fd92884798488eeafdcc5c4d7d57 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Fri, 15 Mar 2013 18:10:51 -0400 Subject: systemd-python: small cleanups - separate methods with two empty lines for clarity - avoid malloc(0) by specyfing private data size as -1 - add method name in error messages --- src/python-systemd/id128.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python-systemd/id128.c') diff --git a/src/python-systemd/id128.c b/src/python-systemd/id128.c index a6711a5bd5..865cc3ce22 100644 --- a/src/python-systemd/id128.c +++ b/src/python-systemd/id128.c @@ -134,7 +134,7 @@ static struct PyModuleDef module = { PyModuleDef_HEAD_INIT, "id128", /* name of module */ module__doc__, /* module documentation, may be NULL */ - 0, /* size of per-interpreter state of the module */ + -1, /* size of per-interpreter state of the module */ methods }; -- cgit v1.2.3-54-g00ecf