projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e094eb1
)
string-table: do not ignore 'scope' argument
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 28 Aug 2018 03:40:25 +0000
(12:40 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 28 Aug 2018 03:40:25 +0000
(12:40 +0900)
src/basic/string-table.h
patch
|
blob
|
history
diff --git
a/src/basic/string-table.h
b/src/basic/string-table.h
index
9bd7879
..
228c12a
100644
(file)
--- 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) \