summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c6
-rw-r--r--mutex.c1
2 files changed, 3 insertions, 4 deletions
diff --git a/main.c b/main.c
index 4eb4cf7..1df6ec3 100644
--- a/main.c
+++ b/main.c
@@ -21,7 +21,7 @@ void help(const char *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 @@ int main(int argc, char *argv[]) {
}
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 007928d..69841ee 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() {