summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-06-23 16:09:32 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-23 16:09:32 +0200
commit5b78752a04053249f7543af772571815b5034ab5 (patch)
tree125f516fc9e5826cb358f79ec784930f0048f1f9
parentef85558abd380254086a81923fa4d35938e9921b (diff)
intended-roles: drop quite a few unnecessary includes
-rw-r--r--src/modules/module-intended-roles.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/modules/module-intended-roles.c b/src/modules/module-intended-roles.c
index eca67c8f..c697209a 100644
--- a/src/modules/module-intended-roles.c
+++ b/src/modules/module-intended-roles.c
@@ -23,14 +23,6 @@
#include <config.h>
#endif
-#include <unistd.h>
-#include <string.h>
-#include <errno.h>
-#include <sys/types.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-
#include <pulse/xmalloc.h>
#include <pulse/volume.h>
#include <pulse/timeval.h>
@@ -45,10 +37,6 @@
#include <pulsecore/sink-input.h>
#include <pulsecore/source-output.h>
#include <pulsecore/namereg.h>
-#include <pulsecore/protocol-native.h>
-#include <pulsecore/pstream.h>
-#include <pulsecore/pstream-util.h>
-#include <pulsecore/database.h>
#include "module-intended-roles-symdef.h"
@@ -69,6 +57,7 @@ static const char* const valid_modargs[] = {
struct userdata {
pa_core *core;
pa_module *module;
+
pa_hook_slot
*sink_input_new_hook_slot,
*source_output_new_hook_slot,