summaryrefslogtreecommitdiffstats
path: root/src/basic/time-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-02-13 17:40:56 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-02-24 00:55:27 +0100
commitd227a42aadf04c23c668ac3089bc7b4a9baaf7e1 (patch)
tree687bb206062175dcb6c4bf5fe994e812d2a62358 /src/basic/time-util.c
parenttime-util: drop redundant space (diff)
downloadsystemd-d227a42aadf04c23c668ac3089bc7b4a9baaf7e1.tar.xz
systemd-d227a42aadf04c23c668ac3089bc7b4a9baaf7e1.zip
time-util: use DEFINE_STRING_TABLE_LOOKUP_TO_STRING() macro
Diffstat (limited to 'src/basic/time-util.c')
-rw-r--r--src/basic/time-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/time-util.c b/src/basic/time-util.c
index b26c94e492..f9d74f771c 100644
--- a/src/basic/time-util.c
+++ b/src/basic/time-util.c
@@ -1617,7 +1617,7 @@ static const char* const timestamp_style_table[_TIMESTAMP_STYLE_MAX] = {
};
/* Use the macro for enum → string to allow for aliases */
-_DEFINE_STRING_TABLE_LOOKUP_TO_STRING(timestamp_style, TimestampStyle,);
+DEFINE_STRING_TABLE_LOOKUP_TO_STRING(timestamp_style, TimestampStyle);
/* For the string → enum mapping we use the generic implementation, but also support two aliases */
TimestampStyle timestamp_style_from_string(const char *s) {