mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
* 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
This commit is contained in:
parent
6c512fb5a3
commit
1f0961368f
200 changed files with 3582 additions and 3468 deletions
|
|
@ -22,17 +22,17 @@
|
|||
USA.
|
||||
***/
|
||||
|
||||
#include "gcc-printf.h"
|
||||
#include "gccmacro.h"
|
||||
|
||||
struct pa_strbuf;
|
||||
typedef struct pa_strbuf pa_strbuf;
|
||||
|
||||
struct pa_strbuf *pa_strbuf_new(void);
|
||||
void pa_strbuf_free(struct pa_strbuf *sb);
|
||||
char *pa_strbuf_tostring(struct pa_strbuf *sb);
|
||||
char *pa_strbuf_tostring_free(struct pa_strbuf *sb);
|
||||
pa_strbuf *pa_strbuf_new(void);
|
||||
void pa_strbuf_free(pa_strbuf *sb);
|
||||
char *pa_strbuf_tostring(pa_strbuf *sb);
|
||||
char *pa_strbuf_tostring_free(pa_strbuf *sb);
|
||||
|
||||
int pa_strbuf_printf(struct pa_strbuf *sb, const char *format, ...) PA_GCC_PRINTF_ATTR(2,3);
|
||||
void pa_strbuf_puts(struct pa_strbuf *sb, const char *t);
|
||||
void pa_strbuf_putsn(struct pa_strbuf *sb, const char *t, size_t m);
|
||||
int pa_strbuf_printf(pa_strbuf *sb, const char *format, ...) PA_GCC_PRINTF_ATTR(2,3);
|
||||
void pa_strbuf_puts(pa_strbuf *sb, const char *t);
|
||||
void pa_strbuf_putsn(pa_strbuf *sb, const char *t, size_t m);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue