From 9f86a0b92515a02e98c267caab5ee9623cdd8088 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 29 Nov 2017 23:38:19 -0800 Subject: [PATCH] mark some internal functions static --- lxc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lxc.c b/lxc.c index 1cc43c9..06e63e9 100644 --- a/lxc.c +++ b/lxc.c @@ -47,7 +47,8 @@ static int PyUnicode_FSConverter(PyObject *unicode, void *result) /* Helper functions */ -int lxc_wait_for_pid_status(pid_t pid) +static int +lxc_wait_for_pid_status(pid_t pid) { int status, ret; @@ -63,7 +64,7 @@ again: return status; } -char** +static char** convert_tuple_to_char_pointer_array(PyObject *argv) { int argc; int i, j; @@ -257,7 +258,8 @@ static lxc_attach_options_t *lxc_attach_parse_options(PyObject *kwds) return options; } -void lxc_attach_free_options(lxc_attach_options_t *options) +static void +lxc_attach_free_options(lxc_attach_options_t *options) { int i; if (!options)