summaryrefslogtreecommitdiffstats
path: root/polyp/pstream-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/pstream-util.c')
-rw-r--r--polyp/pstream-util.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/polyp/pstream-util.c b/polyp/pstream-util.c
index 8526f29c..ecd63d15 100644
--- a/polyp/pstream-util.c
+++ b/polyp/pstream-util.c
@@ -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);