chiark / gitweb /
import: only define the _to_string() enum mapping function, thus making gcc shut up
[elogind.git] / src / import / importd.c
index 92ad80130673b681a62ab16b6cd8e51edefecccb..3e417b174964a863654050c3c61a7bc3c652b339 100644 (file)
@@ -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)