diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-01-11 01:17:39 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-01-11 01:17:39 +0000 |
commit | 1f0961368f58a9fec319d86c79a86a9f0d008cf5 (patch) | |
tree | c712a897bb34ade3c03a06ba754264153ac3bc16 /polyp/glib-mainloop.h | |
parent | 6c512fb5a3fdb578179be79672c5096de1a1d25b (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/glib-mainloop.h')
-rw-r--r-- | polyp/glib-mainloop.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/polyp/glib-mainloop.h b/polyp/glib-mainloop.h index d830561f..d3e98597 100644 --- a/polyp/glib-mainloop.h +++ b/polyp/glib-mainloop.h @@ -32,23 +32,23 @@ PA_C_DECL_BEGIN -/** \struct pa_glib_mainloop +/** \pa_glib_mainloop * An opaque GLIB main loop object */ -struct pa_glib_mainloop; +typedef struct pa_glib_mainloop pa_glib_mainloop; /** Create a new GLIB main loop object for the specified GLIB main loop context. If c is NULL the default context is used. */ #if GLIB_MAJOR_VERSION >= 2 -struct pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c); +pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c); #else -struct pa_glib_mainloop *pa_glib_mainloop_new(void); +pa_glib_mainloop *pa_glib_mainloop_new(void); #endif /** Free the GLIB main loop object */ -void pa_glib_mainloop_free(struct pa_glib_mainloop* g); +void pa_glib_mainloop_free(pa_glib_mainloop* g); /** Return the abstract main loop API vtable for the GLIB main loop object */ -struct pa_mainloop_api* pa_glib_mainloop_get_api(struct pa_glib_mainloop *g); +pa_mainloop_api* pa_glib_mainloop_get_api(pa_glib_mainloop *g); PA_C_DECL_END |