summaryrefslogtreecommitdiffstats
path: root/context.c
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-12-15 17:51:17 +0100
committerJose M. Guisado <jguisado@soleta.eu>2022-12-15 17:51:17 +0100
commit9bf2d030c9135a277449d455fb1561508c942326 (patch)
tree94dc49609b745b6ed54b80544ca668d58ef9c850 /context.c
parentf08c9618ea957b9a4de7d4d7e684320e94506131 (diff)
fdisk: declare kwlist array static
Diffstat (limited to 'context.c')
-rw-r--r--context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/context.c b/context.c
index 07d9304..e119178 100644
--- a/context.c
+++ b/context.c
@@ -43,7 +43,7 @@ static PyObject *Context_new(PyTypeObject *type,
#define Context_HELP "Context(device=None, details=True, readonly=False)"
static int Context_init(ContextObject *self, PyObject *args, PyObject *kwds)
{
- char *kwlist[] = {
+ static char *kwlist[] = {
"device", "details", "readonly",
NULL
};