From: Yu Watanabe Date: Tue, 28 Aug 2018 03:40:25 +0000 (+0900) Subject: string-table: do not ignore 'scope' argument X-Git-Tag: v240~787^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ac37aa00887c5b32430e2f51e4146cc7552ca5;p=thirdparty%2Fsystemd.git string-table: do not ignore 'scope' argument --- diff --git a/src/basic/string-table.h b/src/basic/string-table.h index 9bd7879355d..228c12ad00a 100644 --- a/src/basic/string-table.h +++ b/src/basic/string-table.h @@ -58,7 +58,7 @@ ssize_t string_table_lookup(const char * const *table, size_t len, const char *k } #define _DEFINE_STRING_TABLE_LOOKUP_FROM_STRING_FALLBACK(name,type,max,scope) \ - type name##_from_string(const char *s) { \ + scope type name##_from_string(const char *s) { \ type i; \ unsigned u = 0; \ if (!s) \