Skip to content

Commit

Permalink
fix: compilation failed (#135)
Browse files Browse the repository at this point in the history
* fix: ninja compilation error

* Update src/cache.c

Co-authored-by: Zxilly <[email protected]>
Signed-off-by: SivonZn <[email protected]>

---------

Signed-off-by: SivonZn <[email protected]>
Co-authored-by: Zxilly <[email protected]>
  • Loading branch information
SivonZn and Zxilly authored Sep 6, 2024
1 parent 90c9d9f commit 1ac208d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pthread_rwlock_t cacheLock;
struct cache *not_http_dst_cache = NULL;
static int check_interval;

_Noreturn static void* check_cache(void*) {
_Noreturn static void* check_cache(void* arg __attribute__((unused))) {
while (true) {
pthread_rwlock_wrlock(&cacheLock);

Expand Down

0 comments on commit 1ac208d

Please sign in to comment.