[pulseaudio-discuss] [PATCH 6/7] tests: Make global variables static in srbchannel-test

Peter Meerwald pmeerw at pmeerw.net
Thu Oct 23 08:35:49 PDT 2014


From: Peter Meerwald <p.meerwald at bct-electronic.com>

Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
 src/tests/srbchannel-test.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tests/srbchannel-test.c b/src/tests/srbchannel-test.c
index 78a401b..7fd793f 100644
--- a/src/tests/srbchannel-test.c
+++ b/src/tests/srbchannel-test.c
@@ -32,9 +32,9 @@
 #include <pulsecore/iochannel.h>
 #include <pulsecore/memblock.h>
 
-int packets_received;
-int packets_checksum;
-int packets_length;
+static int packets_received;
+static int packets_checksum;
+static int packets_length;
 
 static void packet_received(pa_pstream *p, pa_packet *packet, const pa_ancil *ancil, void *userdata) {
     unsigned int i;
-- 
1.7.9.5



More information about the pulseaudio-discuss mailing list