From: Christian Brauner Date: Sat, 17 Feb 2018 16:09:26 +0000 (+0100) Subject: cgfsng: string_in_list() X-Git-Tag: lxc-2.0.10~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bbf242f993bed7f72e362b9b36fb93c83978bff;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 856da3266..d500a1484 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -224,9 +224,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) {