Fix tests build.

release/1.6
Roger A. Light 3 years ago
parent 9bfa410498
commit 806dadcdce

@ -148,3 +148,11 @@ void db__msg_store_ref_inc(struct mosquitto_msg_store *store)
store->ref_count++;
}
int session_expiry__add_from_persistence(struct mosquitto_db *db, struct mosquitto *context, time_t expiry_time)
{
UNUSED(db);
UNUSED(context);
UNUSED(expiry_time);
return 0;
}

@ -69,3 +69,12 @@ int send__pubrel(struct mosquitto *mosq, uint16_t mid)
return MOSQ_ERR_SUCCESS;
}
int session_expiry__add_from_persistence(struct mosquitto_db *db, struct mosquitto *context, time_t expiry_time)
{
UNUSED(db);
UNUSED(context);
UNUSED(expiry_time);
return 0;
}

Loading…
Cancel
Save