chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
import: only define the _to_string() enum mapping function, thus making gcc shut up
[elogind.git]
/
src
/
import
/
importd.c
diff --git
a/src/import/importd.c
b/src/import/importd.c
index 92ad80130673b681a62ab16b6cd8e51edefecccb..3e417b174964a863654050c3c61a7bc3c652b339 100644
(file)
--- a/
src/import/importd.c
+++ b/
src/import/importd.c
@@
-86,7
+86,7
@@
static const char* const transfer_type_table[_TRANSFER_TYPE_MAX] = {
[TRANSFER_DKR] = "dkr",
};
-DEFINE_PRIVATE_STRING_TABLE_LOOKUP(transfer_type, TransferType);
+DEFINE_PRIVATE_STRING_TABLE_LOOKUP
_TO_STRING
(transfer_type, TransferType);
static Transfer *transfer_unref(Transfer *t) {
if (!t)