/*
* Allocate the ltt_sessions_ht_by_id HT.
+ *
+ * The session list lock must be held.
*/
int ltt_sessions_ht_alloc(void)
{
/*
* Destroy the ltt_sessions_ht_by_id HT.
+ *
+ * The session list lock must be held.
*/
-void ltt_sessions_ht_destroy(void)
+static void ltt_sessions_ht_destroy(void)
{
if (!ltt_sessions_ht_by_id) {
return;
* Return 1 if empty, 0 if not empty.
* The session list lock must be held.
*/
-static int ltt_sessions_ht_empty()
+static int ltt_sessions_ht_empty(void)
{
int ret;