diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/loader.c | 2 | ||||
-rw-r--r-- | src/main.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -9,7 +9,7 @@ ifeq ($(V),) MUTE := @ endif -CFLAGS ?= -W -Wall -Wpedantic +CFLAGS ?= -W -Wall -Wpedantic -Wmissing-prototypes CFLAGS += -std=gnu11 $(shell sdl2-config --cflags) LDFLAGS += $(shell sdl2-config --libs) -lfreeimage -lSDL2_ttf -lfontconfig -lpthread diff --git a/src/loader.c b/src/loader.c index 6021170..599b80d 100644 --- a/src/loader.c +++ b/src/loader.c @@ -140,7 +140,7 @@ void imv_loader_time_passed(struct imv_loader *ldr, double dt) } } -void imv_loader_error_occurred(struct imv_loader *ldr) +static void imv_loader_error_occurred(struct imv_loader *ldr) { pthread_mutex_lock(&ldr->lock); if(ldr->out_err) { @@ -63,7 +63,7 @@ struct { .font = "Monospace:24", }; -void print_usage(const char* name) +static void print_usage(const char* name) { fprintf(stdout, "imv %s\n" @@ -123,7 +123,7 @@ void print_usage(const char* name) , IMV_VERSION, name); } -void parse_args(int argc, char** argv) +static void parse_args(int argc, char** argv) { /* Do not print getopt errors */ opterr = 0; |