Skip to content
Snippets Groups Projects
Commit 88ca198e authored by deuce's avatar deuce
Browse files

Make the debug mutext lock wrappers static so they can be copy/pasted

into any other files.
parent 3f8070e4
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ static struct palette_entry palette[65536];
#if 0
int dbg_pthread_mutex_lock(pthread_mutex_t *lptr, unsigned line)
static int dbg_pthread_mutex_lock(pthread_mutex_t *lptr, unsigned line)
{
int ret = pthread_mutex_lock(lptr);
......@@ -42,7 +42,7 @@ int dbg_pthread_mutex_lock(pthread_mutex_t *lptr, unsigned line)
return ret;
}
int dbg_pthread_mutex_unlock(pthread_mutex_t *lptr, unsigned line)
static int dbg_pthread_mutex_unlock(pthread_mutex_t *lptr, unsigned line)
{
int ret = pthread_mutex_unlock(lptr);
......@@ -51,7 +51,7 @@ int dbg_pthread_mutex_unlock(pthread_mutex_t *lptr, unsigned line)
return ret;
}
int dbg_pthread_mutex_trylock(pthread_mutex_t *lptr, unsigned line)
static int dbg_pthread_mutex_trylock(pthread_mutex_t *lptr, unsigned line)
{
int ret = pthread_mutex_trylock(lptr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment