summaryrefslogtreecommitdiff
path: root/src/basic/string-table.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-08-28 12:40:25 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-08-28 12:40:25 +0900
commit22ac37aa00887c5b32430e2f51e4146cc7552ca5 (patch)
treea300a8d57bcd29f32719441e2459c067fd6adf6e /src/basic/string-table.h
parente094eb11888d984f1e9139675a5780a49c61d5ed (diff)
downloadsystemd-22ac37aa00887c5b32430e2f51e4146cc7552ca5.tar.gz
string-table: do not ignore 'scope' argument
Diffstat (limited to 'src/basic/string-table.h')
-rw-r--r--src/basic/string-table.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/string-table.h b/src/basic/string-table.h
index 9bd7879355..228c12ad00 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) \