diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-01-14 02:08:18 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2007-01-14 02:08:18 +0000 |
commit | 6b9fc5683953b06e7838520333539994d85e009b (patch) | |
tree | e098d42649436e87c87a1b60d64d6a77a6d45ab1 /src/audioOutputs | |
parent | 71bcc1658820aa6db76236526732317d00b6ab98 (diff) | |
download | mpd-6b9fc5683953b06e7838520333539994d85e009b.tar.gz mpd-6b9fc5683953b06e7838520333539994d85e009b.tar.xz mpd-6b9fc5683953b06e7838520333539994d85e009b.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/audioOutputs/audioOutput_jack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audioOutputs/audioOutput_jack.c b/src/audioOutputs/audioOutput_jack.c index b724c4794..6f4607a09 100644 --- a/src/audioOutputs/audioOutput_jack.c +++ b/src/audioOutputs/audioOutput_jack.c @@ -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]; |