Remove unnecessary #includes

This commit is contained in:
Maarten Bosmans 2011-06-13 15:04:33 +02:00 committed by Colin Guthrie
parent 9ffa9382dd
commit dd9265ac78
227 changed files with 76 additions and 472 deletions

View file

@ -25,12 +25,9 @@
#include <stdlib.h>
#include <unistd.h>
#include <pulse/util.h>
#include <pulse/xmalloc.h>
#include <pulsecore/asyncmsgq.h>
#include <pulsecore/thread.h>
#include <pulsecore/log.h>
#include <pulsecore/core-util.h>
#include <pulsecore/macro.h>
enum {

View file

@ -26,11 +26,9 @@
#include <unistd.h>
#include <pulse/util.h>
#include <pulse/xmalloc.h>
#include <pulsecore/asyncq.h>
#include <pulsecore/thread.h>
#include <pulsecore/log.h>
#include <pulsecore/core-util.h>
#include <pulsecore/macro.h>
static void producer(void *_q) {

View file

@ -6,7 +6,6 @@
#include <assert.h>
#include <pulse/channelmap.h>
#include <pulse/gccmacro.h>
int main(int argc, char *argv[]) {
char cm[PA_CHANNEL_MAP_SNPRINT_MAX];

View file

@ -28,7 +28,6 @@
#include <signal.h>
#include <pulse/mainloop.h>
#include <pulse/gccmacro.h>
#ifdef TEST2
#include <pulse/mainloop-signal.h>

View file

@ -22,13 +22,11 @@
#endif
#include <signal.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <math.h>
#include <pulse/pulseaudio.h>

View file

@ -21,7 +21,6 @@
#include <config.h>
#endif
#include <limits.h>
#include <stdio.h>
#include <string.h>

View file

@ -28,7 +28,6 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <pulse/pulseaudio.h>
#include <pulse/mainloop.h>

View file

@ -28,7 +28,6 @@
#include <pulse/rtclock.h>
#include <pulse/timeval.h>
#include <pulse/gccmacro.h>
#include <pulsecore/core-util.h>
#include <pulsecore/core-rtclock.h>

View file

@ -29,8 +29,6 @@
#include <stdlib.h>
#include <time.h>
#include <pulse/gccmacro.h>
#include <pulsecore/core-util.h>
#include <pulsecore/mcalign.h>

View file

@ -26,7 +26,6 @@
#include <pulse/sample.h>
#include <pulse/volume.h>
#include <pulsecore/resampler.h>
#include <pulsecore/macro.h>
#include <pulsecore/endianmacros.h>
#include <pulsecore/memblock.h>

View file

@ -24,11 +24,9 @@
#include <pthread.h>
#include <pulsecore/thread.h>
#include <pulsecore/mutex.h>
#include <pulsecore/once.h>
#include <pulsecore/log.h>
#include <pulsecore/core-util.h>
#include <pulsecore/core-error.h>
#include <pulsecore/atomic.h>
#include <pulse/xmalloc.h>

View file

@ -29,7 +29,6 @@
#include <pulse/simple.h>
#include <pulse/error.h>
#include <pulse/gccmacro.h>
#define BUFSIZE 1024

View file

@ -28,7 +28,6 @@
#include <pulse/simple.h>
#include <pulse/error.h>
#include <pulse/gccmacro.h>
#define BUFSIZE 1024

View file

@ -25,11 +25,8 @@
#include <stdlib.h>
#include <unistd.h>
#include <pulse/util.h>
#include <pulse/xmalloc.h>
#include <pulsecore/queue.h>
#include <pulsecore/log.h>
#include <pulsecore/core-util.h>
#include <pulsecore/macro.h>
int main(int argc, char *argv[]) {

View file

@ -24,13 +24,10 @@
#include <stdio.h>
#include <pulse/sample.h>
#include <pulse/volume.h>
#include <pulsecore/resampler.h>
#include <pulsecore/macro.h>
#include <pulsecore/endianmacros.h>
#include <pulsecore/memblock.h>
#include <pulsecore/sample-util.h>
int main(int argc, char *argv[]) {

View file

@ -37,7 +37,6 @@
#include <pulsecore/endianmacros.h>
#include <pulsecore/memblock.h>
#include <pulsecore/sample-util.h>
#include <pulsecore/core-rtclock.h>
#include <pulsecore/core-util.h>
static void dump_block(const pa_sample_spec *ss, const pa_memchunk *chunk) {

View file

@ -27,7 +27,6 @@
#include <unistd.h>
#include <time.h>
#include <inttypes.h>
#include <string.h>
#ifdef HAVE_PTHREAD
#include <pthread.h>

View file

@ -1,7 +1,6 @@
#include <stdio.h>
#include <pulse/xmalloc.h>
#include <pulse/gccmacro.h>
#include <pulsecore/strlist.h>

View file

@ -22,13 +22,11 @@
#endif
#include <signal.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <math.h>
#include <pulse/pulseaudio.h>

View file

@ -29,7 +29,6 @@
#include <pulse/timeval.h>
#include <pulse/util.h>
#include <pulse/thread-mainloop.h>
#include <pulse/gccmacro.h>
#include <pulsecore/macro.h>
#include <pulsecore/core-rtclock.h>

View file

@ -22,9 +22,9 @@
#endif
#include <stdio.h>
#include <math.h>
#include <pulse/volume.h>
#include <pulse/gccmacro.h>
#include <pulsecore/macro.h>