From 59a134f2d68a6b27e8bd4e2c31794bd8f2dad6e8 Mon Sep 17 00:00:00 2001 From: moon Date: Sat, 13 Sep 2025 00:51:54 +0330 Subject: new things --- packet_storage.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'packet_storage.c') diff --git a/packet_storage.c b/packet_storage.c index 8dd0b16..30e047f 100644 --- a/packet_storage.c +++ b/packet_storage.c @@ -29,8 +29,6 @@ struct data_packet_entry { // TODO: yes, i know it's weird, but this has to be zero #define minus_one (uint64_t) 0 -pthread_mutex_t packet_storage_mutex = PTHREAD_MUTEX_INITIALIZER; - struct data_packet* load_packet(const hash packet_hash) { char filename[ 128 ]; sprintf(filename, "packets/" hash_fmt ".bin", hash_ref(packet_hash)); -- cgit v1.2.3