diff --git a/src/dcfg.c b/src/dcfg.c index a157cf9..b38929c 100644 --- a/src/dcfg.c +++ b/src/dcfg.c @@ -61,12 +61,12 @@ typedef struct { # define PTHREAD_MUTEX_RECURSIVE_NP 0 # endif -static void pthread_mutex_init(pthread_mutex_t *m, void *data) { } -static void pthread_mutex_destroy(pthread_mutex_t *m) { } -static void pthread_mutex_lock(pthread_mutex_t *m) { } -static void pthread_mutex_unlock(pthread_mutex_t *m) { } +static void pthread_mutex_init(pthread_mutex_t *m, void *data) { (void)m; (void)data; } +static void pthread_mutex_destroy(pthread_mutex_t *m) { (void)m; } +static void pthread_mutex_lock(pthread_mutex_t *m) { (void)m; } +static void pthread_mutex_unlock(pthread_mutex_t *m) { (void)m; } void pthread_mutexattr_init(pthread_mutexattr_t *attr); -static void pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) { } +static void pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) { (void)attr; (void)type; } #endif #include