import: only define the _to_string() enum mapping function, thus making gcc shut up
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user