From: Christian Brauner Date: Sat, 17 Feb 2018 16:09:26 +0000 (+0100) Subject: cgfsng: string_in_list() X-Git-Tag: lxc-3.0.0.beta1~22^2~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8073018da72792e9504c8450a8bf2b2b2f395365;p=thirdparty%2Flxc.git cgfsng: string_in_list() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index dd47ad714..9569d36b2 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -229,9 +229,8 @@ static int append_null_to_list(void ***list) return newentry; } -/* - * Given a null-terminated array of strings, check whether @entry - * is one of the strings +/* Given a null-terminated array of strings, check whether @entry is one of the + * strings. */ static bool string_in_list(char **list, const char *entry) {