summaryrefslogtreecommitdiffstats
path: root/polyp/module-cli.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-01-11 01:17:39 +0000
committerLennart Poettering <lennart@poettering.net>2006-01-11 01:17:39 +0000
commit1f0961368f58a9fec319d86c79a86a9f0d008cf5 (patch)
treec712a897bb34ade3c03a06ba754264153ac3bc16 /polyp/module-cli.c
parent6c512fb5a3fdb578179be79672c5096de1a1d25b (diff)
* remove a lot of compiler warnings introduced by using some new GCC flags
* add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/module-cli.c')
-rw-r--r--polyp/module-cli.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/polyp/module-cli.c b/polyp/module-cli.c
index 7d278f90..db0e895c 100644
--- a/polyp/module-cli.c
+++ b/polyp/module-cli.c
@@ -39,15 +39,15 @@ PA_MODULE_DESCRIPTION("Command line interface")
PA_MODULE_VERSION(PACKAGE_VERSION)
PA_MODULE_USAGE("No arguments")
-static void eof_cb(struct pa_cli*c, void *userdata) {
- struct pa_module *m = userdata;
+static void eof_cb(pa_cli*c, void *userdata) {
+ pa_module *m = userdata;
assert(c && m);
pa_module_unload_request(m);
}
-int pa__init(struct pa_core *c, struct pa_module*m) {
- struct pa_iochannel *io;
+int pa__init(pa_core *c, pa_module*m) {
+ pa_iochannel *io;
assert(c && m);
if (c->running_as_daemon) {
@@ -77,7 +77,7 @@ int pa__init(struct pa_core *c, struct pa_module*m) {
return 0;
}
-void pa__done(struct pa_core *c, struct pa_module*m) {
+void pa__done(pa_core *c, pa_module*m) {
assert(c && m);
if (c->running_as_daemon == 0) {