Fixup #include directives according to Coding Style

Use #include "header.h" if functionality of header.h is implemented
and #include <header.h> if functionality of header.h is used.
This commit is contained in:
Maarten Bosmans 2011-03-09 10:00:20 +01:00 committed by Colin Guthrie
parent ecf09f2cd6
commit b3721a12c5
21 changed files with 32 additions and 41 deletions

View file

@ -26,6 +26,8 @@
#include <unistd.h>
#include <errno.h>
#include <pulse/xmalloc.h>
#include <pulsecore/atomic.h>
#include <pulsecore/log.h>
#include <pulsecore/thread.h>
@ -33,10 +35,9 @@
#include <pulsecore/core-util.h>
#include <pulsecore/llist.h>
#include <pulsecore/flist.h>
#include <pulse/xmalloc.h>
#include <pulsecore/fdsem.h>
#include "asyncq.h"
#include "fdsem.h"
#define ASYNCQ_SIZE 256

View file

@ -55,8 +55,7 @@
#include <pulsecore/macro.h>
#include <pulsecore/thread-mq.h>
#include <pulsecore/shared.h>
#include "endianmacros.h"
#include <pulsecore/endianmacros.h>
#include "protocol-esound.h"

View file

@ -36,11 +36,11 @@
#include <pulsecore/log.h>
#include <pulsecore/macro.h>
#include <pulsecore/strbuf.h>
#include <pulsecore/remap.h>
#include "ffmpeg/avcodec.h"
#include "resampler.h"
#include "remap.h"
/* Number of samples of extra space we allow the resamplers to return */
#define EXTRA_FRAMES 128

View file

@ -37,9 +37,9 @@
#include <pulsecore/macro.h>
#include <pulsecore/g711.h>
#include <pulsecore/core-util.h>
#include <pulsecore/endianmacros.h>
#include "sample-util.h"
#include "endianmacros.h"
#define PA_SILENCE_MAX (PA_PAGE_SIZE*16)

View file

@ -31,8 +31,7 @@
#include <pulsecore/sconv.h>
#include <pulsecore/macro.h>
#include <pulsecore/log.h>
#include "endianmacros.h"
#include <pulsecore/endianmacros.h>
#include "sconv-s16le.h"

View file

@ -29,10 +29,10 @@
#include <pulsecore/g711.h>
#include <pulsecore/macro.h>
#include <pulsecore/endianmacros.h>
#include "endianmacros.h"
#include "sconv-s16le.h"
#include "sconv-s16be.h"
#include <pulsecore/sconv-s16le.h>
#include <pulsecore/sconv-s16be.h>
#include "sconv.h"

View file

@ -29,8 +29,7 @@
#include <pulsecore/g711.h>
#include <pulsecore/macro.h>
#include "endianmacros.h"
#include <pulsecore/endianmacros.h>
#include "cpu-x86.h"
#include "sconv.h"

View file

@ -29,11 +29,11 @@
#include <pulsecore/macro.h>
#include <pulsecore/g711.h>
#include <pulsecore/core-util.h>
#include <pulsecore/endianmacros.h>
#include "cpu-arm.h"
#include "sample-util.h"
#include "endianmacros.h"
#if defined (__arm__) && defined (HAVE_ARMV6)

View file

@ -28,9 +28,9 @@
#include <pulsecore/macro.h>
#include <pulsecore/g711.h>
#include <pulsecore/core-util.h>
#include <pulsecore/endianmacros.h>
#include "sample-util.h"
#include "endianmacros.h"
static void pa_volume_u8_c(uint8_t *samples, int32_t *volumes, unsigned channels, unsigned length) {
unsigned channel;

View file

@ -31,11 +31,11 @@
#include <pulsecore/macro.h>
#include <pulsecore/g711.h>
#include <pulsecore/core-util.h>
#include <pulsecore/endianmacros.h>
#include "cpu-x86.h"
#include "sample-util.h"
#include "endianmacros.h"
#if defined (__i386__) || defined (__amd64__)
/* in s: 2 int16_t samples

View file

@ -31,11 +31,11 @@
#include <pulsecore/macro.h>
#include <pulsecore/g711.h>
#include <pulsecore/core-util.h>
#include <pulsecore/endianmacros.h>
#include "cpu-x86.h"
#include "sample-util.h"
#include "endianmacros.h"
#if defined (__i386__) || defined (__amd64__)