From 1f0961368f58a9fec319d86c79a86a9f0d008cf5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jan 2006 01:17:39 +0000 Subject: * 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 --- polyp/module-cli.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'polyp/module-cli.c') 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) { -- cgit