Include <pthread.h> where it is necessary only

This commit is contained in:
Thomas Jansen 2008-12-28 21:02:05 +01:00
parent f31b4f46e1
commit 5e3dc6946f
5 changed files with 2 additions and 3 deletions

View File

@ -28,6 +28,7 @@
#include "log.h"
#include "ls.h"
#include <pthread.h>
#include <glib.h>
static bool

View File

@ -5,6 +5,7 @@
#include <string.h>
#include <glib.h>
#include <pthread.h>
static pthread_mutex_t nr_lock = PTHREAD_MUTEX_INITIALIZER;

View File

@ -32,7 +32,6 @@
#include <time.h>
#include <unistd.h>
#include <errno.h>
#include <pthread.h>
#include <glib.h>
#ifdef HAVE_SYSLOG

View File

@ -48,7 +48,6 @@
#include <errno.h>
#include <assert.h>
#include <sys/param.h>
#include <pthread.h>
#include <sys/ioctl.h>
#include <ctype.h>
#include <stdarg.h>

View File

@ -22,7 +22,6 @@
#include "output_thread.h"
#include "pcm_utils.h"
#include <pthread.h>
#include <assert.h>
#include <stdlib.h>