From 1e191607c478f2d6d78ae2b80855d05f877bd8bb Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Fri, 15 Mar 2024 23:09:25 +0100 Subject: NULL > nullptr --- src/mutex.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mutex.h') diff --git a/src/mutex.h b/src/mutex.h index 31a0026..a6a96e6 100644 --- a/src/mutex.h +++ b/src/mutex.h @@ -1,5 +1,4 @@ -#ifndef INCLUDE_MUTEX -#define INCLUDE_MUTEX +#pragma once #if defined(_WIN32) #define _CRT_SECURE_NO_WARNINGS @@ -53,5 +52,3 @@ void ts_mutex_lock(ts_mutex *ts_mutex); bool ts_mutex_trylock(ts_mutex *ts_mutex); void ts_mutex_unlock(ts_mutex *ts_mutex); void ts_mutex_destroy(ts_mutex *ts_mutex); - -#endif \ No newline at end of file -- cgit v1.2.3-70-g09d2