summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-05-18 07:04:41 +0000
committerPierre Ossman <ossman@cendio.se>2006-05-18 07:04:41 +0000
commit24a781992bad4d66bb7bc3a2d1deeba7e959dbb1 (patch)
treeca1e40e4e900d5b9b1502372f5132eff38738ee9 /src
parent3ee205141280ff4246f9fe40521f666b6d598fc5 (diff)
Don't include util.h from core-util.h as it is not needed by many users.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@929 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/daemon/dumpmodules.c3
-rw-r--r--src/modules/module-tunnel.c1
-rw-r--r--src/modules/rtp/module-rtp-send.c1
-rw-r--r--src/polypcore/authkey.c1
-rw-r--r--src/polypcore/core-scache.c1
-rw-r--r--src/polypcore/core-util.h1
-rw-r--r--src/polypcore/parseaddr.c1
-rw-r--r--src/polypcore/protocol-native.c2
-rw-r--r--src/polypcore/socket-server.c1
-rw-r--r--src/tests/thread-mainloop-test.c2
-rw-r--r--src/utils/pacmd.c2
11 files changed, 12 insertions, 4 deletions
diff --git a/src/daemon/dumpmodules.c b/src/daemon/dumpmodules.c
index b6a3bb7c..d56bb798 100644
--- a/src/daemon/dumpmodules.c
+++ b/src/daemon/dumpmodules.c
@@ -29,8 +29,9 @@
#include <stdio.h>
#include <ltdl.h>
+#include <polyp/util.h>
+
#include <polypcore/modinfo.h>
-#include <polypcore/core-util.h>
#include "dumpmodules.h"
diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index 758d1bd6..bf1fafb3 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -32,6 +32,7 @@
#include <stdlib.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polyp/version.h>
#include <polyp/xmalloc.h>
diff --git a/src/modules/rtp/module-rtp-send.c b/src/modules/rtp/module-rtp-send.c
index 4ca2b1e6..1372414c 100644
--- a/src/modules/rtp/module-rtp-send.c
+++ b/src/modules/rtp/module-rtp-send.c
@@ -33,6 +33,7 @@
#include <unistd.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polyp/xmalloc.h>
#include <polypcore/module.h>
diff --git a/src/polypcore/authkey.c b/src/polypcore/authkey.c
index 1231c7a2..aee54fd4 100644
--- a/src/polypcore/authkey.c
+++ b/src/polypcore/authkey.c
@@ -35,6 +35,7 @@
#include <limits.h>
#include <sys/stat.h>
+#include <polyp/util.h>
#include <polypcore/core-util.h>
#include <polypcore/log.h>
#include <polypcore/random.h>
diff --git a/src/polypcore/core-scache.c b/src/polypcore/core-scache.c
index 1ee3361f..5cb38bee 100644
--- a/src/polypcore/core-scache.c
+++ b/src/polypcore/core-scache.c
@@ -44,6 +44,7 @@
#include <polyp/mainloop.h>
#include <polyp/channelmap.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polyp/volume.h>
#include <polyp/xmalloc.h>
diff --git a/src/polypcore/core-util.h b/src/polypcore/core-util.h
index d3db756f..989f8c16 100644
--- a/src/polypcore/core-util.h
+++ b/src/polypcore/core-util.h
@@ -28,7 +28,6 @@
#include <stdio.h>
#include <polypcore/gccmacro.h>
-#include <polyp/util.h>
struct timeval;
diff --git a/src/polypcore/parseaddr.c b/src/polypcore/parseaddr.c
index b2c7d1c7..d0687b05 100644
--- a/src/polypcore/parseaddr.c
+++ b/src/polypcore/parseaddr.c
@@ -29,6 +29,7 @@
#include <polyp/xmalloc.h>
+#include <polyp/util.h>
#include <polypcore/core-util.h>
#include "parseaddr.h"
diff --git a/src/polypcore/protocol-native.c b/src/polypcore/protocol-native.c
index 0a408c6d..a300c45d 100644
--- a/src/polypcore/protocol-native.c
+++ b/src/polypcore/protocol-native.c
@@ -32,6 +32,7 @@
#include <polyp/timeval.h>
#include <polyp/version.h>
#include <polyp/utf8.h>
+#include <polyp/util.h>
#include <polyp/xmalloc.h>
#include <polypcore/native-common.h>
@@ -46,7 +47,6 @@
#include <polypcore/authkey.h>
#include <polypcore/namereg.h>
#include <polypcore/core-scache.h>
-#include <polypcore/core-util.h>
#include <polypcore/core-subscribe.h>
#include <polypcore/log.h>
#include <polypcore/autoload.h>
diff --git a/src/polypcore/socket-server.c b/src/polypcore/socket-server.c
index 96f8e073..592b6a63 100644
--- a/src/polypcore/socket-server.c
+++ b/src/polypcore/socket-server.c
@@ -63,6 +63,7 @@
#include "winsock.h"
#include <polyp/xmalloc.h>
+#include <polyp/util.h>
#include <polypcore/socket-util.h>
#include <polypcore/core-util.h>
diff --git a/src/tests/thread-mainloop-test.c b/src/tests/thread-mainloop-test.c
index 70144431..aef3aff0 100644
--- a/src/tests/thread-mainloop-test.c
+++ b/src/tests/thread-mainloop-test.c
@@ -29,9 +29,9 @@
#include <stdio.h>
#include <polyp/timeval.h>
+#include <polyp/util.h>
#include <polypcore/gccmacro.h>
-#include <polypcore/core-util.h>
#include <polyp/thread-mainloop.h>
static void tcb(pa_mainloop_api*a, pa_time_event *e, const struct timeval *tv, void *userdata) {
diff --git a/src/utils/pacmd.c b/src/utils/pacmd.c
index fefe7634..539d205e 100644
--- a/src/utils/pacmd.c
+++ b/src/utils/pacmd.c
@@ -32,6 +32,8 @@
#include <string.h>
#include <sys/un.h>
+#include <polyp/util.h>
+
#include <polypcore/core-util.h>
#include <polypcore/log.h>
#include <polypcore/pid.h>