* 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:
Lennart Poettering 2006-01-11 01:17:39 +00:00
parent 6c512fb5a3
commit 1f0961368f
200 changed files with 3582 additions and 3468 deletions

View file

@ -28,10 +28,10 @@
#include "native-common.h"
#include "pstream-util.h"
void pa_pstream_send_tagstruct(struct pa_pstream *p, struct pa_tagstruct *t) {
void pa_pstream_send_tagstruct(pa_pstream *p, pa_tagstruct *t) {
size_t length;
uint8_t *data;
struct pa_packet *packet;
pa_packet *packet;
assert(p);
assert(t);
@ -43,8 +43,8 @@ void pa_pstream_send_tagstruct(struct pa_pstream *p, struct pa_tagstruct *t) {
pa_packet_unref(packet);
}
void pa_pstream_send_error(struct pa_pstream *p, uint32_t tag, uint32_t error) {
struct pa_tagstruct *t = pa_tagstruct_new(NULL, 0);
void pa_pstream_send_error(pa_pstream *p, uint32_t tag, uint32_t error) {
pa_tagstruct *t = pa_tagstruct_new(NULL, 0);
assert(t);
pa_tagstruct_putu32(t, PA_COMMAND_ERROR);
pa_tagstruct_putu32(t, tag);
@ -52,8 +52,8 @@ void pa_pstream_send_error(struct pa_pstream *p, uint32_t tag, uint32_t error) {
pa_pstream_send_tagstruct(p, t);
}
void pa_pstream_send_simple_ack(struct pa_pstream *p, uint32_t tag) {
struct pa_tagstruct *t = pa_tagstruct_new(NULL, 0);
void pa_pstream_send_simple_ack(pa_pstream *p, uint32_t tag) {
pa_tagstruct *t = pa_tagstruct_new(NULL, 0);
assert(t);
pa_tagstruct_putu32(t, PA_COMMAND_REPLY);
pa_tagstruct_putu32(t, tag);