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
This commit is contained in:
Eric Wong 2007-01-14 02:08:18 +00:00
parent 71bcc16588
commit 6b9fc56839

View File

@ -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];