diff --git a/main.c b/main.c index 4eb4cf71661e61f4d54ec573572c3a7281b65d09..1df6ec3e617c652f381c6da6c3c461de19fba5ed 100644 --- a/main.c +++ b/main.c @@ -21,7 +21,7 @@ argv0); } int main(int argc, char *argv[]) { - const char short_options[] = "lp:s:hv:"; + const char short_options[] = "lp:s:hv"; const struct option long_options[] = { { "list", 0, NULL, 'l' }, { "port", 1, NULL, 'p' }, @@ -63,8 +63,8 @@ } } if (port_name == NULL || soundfont_file == NULL) { - fprintf(stdout, "Missing options. Check help.\n\n"); - fprintf(stdout, "Port and soundfile are required fields.\n\n"); + fprintf(stdout, "Missing options. Check help.\n"); + fprintf(stdout, "Port and soundfile are required fields.\n"); return 1; } diff --git a/mutex.c b/mutex.c index 007928db2560b9534152d7e8ffc35dc3d9b5a162..69841ee56e44528d854daef3a1a86d407e9b9bd2 100644 --- a/mutex.c +++ b/mutex.c @@ -4,7 +4,6 @@ SharedData shared_data; pthread_mutex_t mutex; -pthread_cond_t cond_midi; pthread_cond_t cond_synth; void initialize_mutex() {