1
0
mirror of https://github.com/eclipse/mosquitto.git synced 2025-05-08 16:52:13 +08:00

Fix tests build.

This commit is contained in:
Roger A. Light 2022-05-25 16:35:22 +01:00
parent 9bfa410498
commit 806dadcdce
2 changed files with 17 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}