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

@ -27,7 +27,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <pulse/xmalloc.h>
#include <pulse/i18n.h>

View file

@ -32,23 +32,17 @@
#include <sys/stat.h>
#include <errno.h>
#include <signal.h>
#include <limits.h>
#include <locale.h>
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#include <pulse/version.h>
#include <pulse/xmalloc.h>
#include <pulse/utf8.h>
#include <pulse/util.h>
#include <pulse/i18n.h>
#include <pulse/mainloop.h>
@ -70,7 +64,6 @@
#include <pulsecore/core-util.h>
#include <pulsecore/log.h>
#include <pulsecore/socket.h>
#include <pulsecore/socket-util.h>
#include <pulsecore/creds.h>
#include <pulsecore/macro.h>
#include <pulsecore/proplist-util.h>

View file

@ -27,14 +27,10 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pulse/xmalloc.h>
#include <pulse/def.h>
#include <pulse/i18n.h>
#include <pulsecore/core-util.h>
#include <pulsecore/native-common.h>
#include "error.h"
const char*pa_strerror(int error) {

View file

@ -23,7 +23,6 @@
USA.
***/
#include <inttypes.h>
#include <pulse/cdecl.h>
#include <pulse/version.h>

View file

@ -25,7 +25,6 @@
#endif
#include <pulse/context.h>
#include <pulse/gccmacro.h>
#include <pulse/xmalloc.h>
#include <pulse/fork-detect.h>
#include <pulse/operation.h>

View file

@ -23,6 +23,7 @@
USA.
***/
#include <pulse/cdecl.h>
#include <pulse/context.h>
#include <pulse/version.h>

View file

@ -24,7 +24,6 @@
#endif
#include <pulse/context.h>
#include <pulse/gccmacro.h>
#include <pulse/fork-detect.h>
#include <pulse/operation.h>

View file

@ -22,6 +22,7 @@
USA.
***/
#include <pulse/cdecl.h>
#include <pulse/context.h>
#include <pulse/version.h>
#include <pulse/volume.h>

View file

@ -25,6 +25,7 @@
***/
#include <pulse/cdecl.h>
#include <pulse/gccmacro.h>
#include <pulse/proplist.h>
#include <pulse/sample.h>
#include <pulse/channelmap.h>

View file

@ -26,7 +26,6 @@
#include <pulse/xmalloc.h>
#include <pulse/timeval.h>
#include <pulsecore/idxset.h>
#include <pulsecore/core-util.h>
#include <pulsecore/log.h>
#include <pulsecore/llist.h>

View file

@ -23,7 +23,6 @@
***/
#include <pulse/cdecl.h>
#include <pulse/gccmacro.h>
#include <pulse/version.h>
PA_C_DECL_BEGIN

View file

@ -24,10 +24,7 @@
#include <config.h>
#endif
#include <string.h>
#include <pulse/context.h>
#include <pulse/gccmacro.h>
#include <pulse/xmalloc.h>
#include <pulse/fork-detect.h>

View file

@ -26,7 +26,6 @@
#include <stdlib.h>
#include <pulse/xmalloc.h>
#include <pulse/gccmacro.h>
#include <pulse/i18n.h>
#include <pulsecore/macro.h>

View file

@ -26,7 +26,6 @@
#include <sys/time.h>
#include <pulse/cdecl.h>
#include <pulse/sample.h>
#include <pulse/version.h>
/** \file

View file

@ -30,14 +30,12 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#include <pulse/xmalloc.h>
#include <pulse/gccmacro.h>
#include <pulse/i18n.h>
#include <pulsecore/core-error.h>

View file

@ -25,10 +25,8 @@
#endif
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>

View file

@ -28,7 +28,6 @@
#include <pulse/xmalloc.h>
#include <pulse/utf8.h>
#include <pulse/i18n.h>
#include <pulsecore/hashmap.h>
#include <pulsecore/strbuf.h>

View file

@ -23,8 +23,7 @@
***/
#include <pulse/cdecl.h>
#include <pulse/def.h>
#include <pulse/gccmacro.h>
#include <pulse/sample.h>
/** \file
* Monotonic clock utilities. */

View file

@ -25,7 +25,6 @@
#endif
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <pulse/timeval.h>

View file

@ -26,7 +26,6 @@
#include <inttypes.h>
#include <sys/types.h>
#include <sys/param.h>
#include <math.h>
#include <pulse/gccmacro.h>
#include <pulse/cdecl.h>

View file

@ -25,7 +25,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <pulse/utf8.h>
#include <pulse/fork-detect.h>

View file

@ -32,7 +32,6 @@
#include <pulse/thread-mainloop.h>
#include <pulse/xmalloc.h>
#include <pulsecore/native-common.h>
#include <pulsecore/log.h>
#include <pulsecore/macro.h>

View file

@ -25,8 +25,6 @@
#include <stdio.h>
#include <pulse/gccmacro.h>
#include <pulsecore/macro.h>
#include <pulsecore/pstream-util.h>

View file

@ -36,7 +36,6 @@
#include <pulse/i18n.h>
#include <pulsecore/log.h>
#include <pulsecore/hashmap.h>
#include <pulsecore/thread.h>
#include <pulsecore/mutex.h>
#include <pulsecore/macro.h>

View file

@ -58,8 +58,6 @@
#include <pulse/timeval.h>
#include <pulsecore/socket.h>
#include <pulsecore/core-error.h>
#include <pulsecore/log.h>
#include <pulsecore/core-util.h>
#include <pulsecore/macro.h>
#include <pulsecore/usergroup.h>

View file

@ -26,7 +26,6 @@
#include <stddef.h>
#include <pulse/cdecl.h>
#include <pulse/gccmacro.h>
#include <pulse/version.h>
/** \file

View file

@ -25,6 +25,7 @@
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <pulse/i18n.h>