Commit 6b9fc568 authored by Eric Wong's avatar Eric Wong

jack: declare global variables as static

There's no reason they shouldn't be static. Additionally, output_ports doesn't need to be initialized to NULLs; that is (and has always been) implicit (for all global variables) git-svn-id: https://svn.musicpd.org/mpd/trunk@5247 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent 71bcc165
......@@ -36,9 +36,9 @@
#define MIN(a, b) ((a) < (b) ? (a) : (b))
char *name = "mpd";
char *output_ports[2] = {NULL, NULL};
int ringbuf_sz = 32768;
static char *name = "mpd";
static char *output_ports[2];
static int ringbuf_sz = 32768;
typedef struct _JackData {
jack_port_t *ports[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment