summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-22 17:49:28 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-22 17:50:50 +0100
commitb9a5f8588facd64fcff0f75fa91e3f80730b93f2 (patch)
treef31b2431533fd90c240f49f6e1801fd3b7adb426 /src/import
parentaa9bd4992ff0240f6ceecb70ec364d5d9c7574f4 (diff)
import: only define the _to_string() enum mapping function, thus making gcc shut up
Diffstat (limited to 'src/import')
-rw-r--r--src/import/importd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/importd.c b/src/import/importd.c
index 92ad801306..3e417b1749 100644
--- 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)