Skip to content
This repository was archived by the owner on Mar 19, 2020. It is now read-only.

Commit 9f86a0b

Browse files
committed
mark some internal functions static
1 parent f2fa37e commit 9f86a0b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lxc.c

+5-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ static int PyUnicode_FSConverter(PyObject *unicode, void *result)
4747

4848
/* Helper functions */
4949

50-
int lxc_wait_for_pid_status(pid_t pid)
50+
static int
51+
lxc_wait_for_pid_status(pid_t pid)
5152
{
5253
int status, ret;
5354

@@ -63,7 +64,7 @@ int lxc_wait_for_pid_status(pid_t pid)
6364
return status;
6465
}
6566

66-
char**
67+
static char**
6768
convert_tuple_to_char_pointer_array(PyObject *argv) {
6869
int argc;
6970
int i, j;
@@ -257,7 +258,8 @@ static lxc_attach_options_t *lxc_attach_parse_options(PyObject *kwds)
257258
return options;
258259
}
259260

260-
void lxc_attach_free_options(lxc_attach_options_t *options)
261+
static void
262+
lxc_attach_free_options(lxc_attach_options_t *options)
261263
{
262264
int i;
263265
if (!options)

0 commit comments

Comments
 (0)