diff --git a/examples/circlescope.c b/examples/circlescope.c index 52bb3d8..2315307 100644 --- a/examples/circlescope.c +++ b/examples/circlescope.c @@ -104,7 +104,7 @@ void jack_shutdown (void *arg) int main (int argc, char *argv[]) { jack_client_t *client; - const char jack_client_name[] = "circlescope"; + static const char jack_client_name[] = "circlescope"; jack_status_t jack_status; if ((client = jack_client_open(jack_client_name, JackNullOption, &jack_status)) == 0) { diff --git a/examples/scope.c b/examples/scope.c index 5b32660..ed40443 100644 --- a/examples/scope.c +++ b/examples/scope.c @@ -104,7 +104,7 @@ void jack_shutdown (void *arg) int main (int argc, char *argv[]) { jack_client_t *client; - const char jack_client_name[] = "scope"; + static const char jack_client_name[] = "scope"; jack_status_t jack_status; if ((client = jack_client_open(jack_client_name, JackNullOption, &jack_status)) == 0) { diff --git a/libol/libol.c b/libol/libol.c index 880cea4..3387d68 100644 --- a/libol/libol.c +++ b/libol/libol.c @@ -229,7 +229,7 @@ static int process (nframes_t nframes, void *arg) int olInit(int buffer_count, int max_points) { int i; - const char jack_client_name[] = "libol"; + static const char jack_client_name[] = "libol"; jack_status_t jack_status; if (buffer_count < 2) diff --git a/output/output.cpp b/output/output.cpp index 8182dfb..61d93d1 100644 --- a/output/output.cpp +++ b/output/output.cpp @@ -226,7 +226,7 @@ int main (int argc, char *argv[]) { int retval; jack_client_t *client; - const char jack_client_name[] = "output"; + static const char jack_client_name[] = "output"; jack_status_t jack_status; QApplication app(argc, argv); diff --git a/tools/playilda.c b/tools/playilda.c index 1cd2edc..c184db7 100644 --- a/tools/playilda.c +++ b/tools/playilda.c @@ -459,7 +459,7 @@ int main (int argc, char *argv[]) char **argvp = &argv[1]; char *fname; jack_client_t *client; - const char jack_client_name[] = "playilda"; + static const char jack_client_name[] = "playilda"; jack_status_t jack_status; struct stat st1, st2; diff --git a/tools/simulator.c b/tools/simulator.c index e16045d..ccfaa4d 100644 --- a/tools/simulator.c +++ b/tools/simulator.c @@ -231,7 +231,7 @@ void init_gl(int width, int height) int main (int argc, char *argv[]) { - const char jack_client_name[] = "simulator"; + static const char jack_client_name[] = "simulator"; jack_status_t jack_status; if ((client = jack_client_open(jack_client_name, JackNullOption, &jack_status)) == 0) {