From: Hugo Villeneuve Date: Fri, 14 Dec 2018 16:29:24 +0000 (-0500) Subject: Fix compiler warning about inline function X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=8069b799acd017ea32510fb977a7a42f5a747c6c;hp=40f6d58d5813d60af3221ef18f17d22268a1acd1;p=dockapps%2Fwmnotify.git Fix compiler warning about inline function --- diff --git a/src/common.h b/src/common.h index b1517f2..24b8790 100644 --- a/src/common.h +++ b/src/common.h @@ -35,7 +35,7 @@ #define STREQ_LEN(a, b, c) (strncmp((a), (b), (c)) == 0) -inline void ErrorLocation(const char *file, int line); +void ErrorLocation(const char *file, int line); /*@out@*//*@only@ */ void *xmalloc(size_t size, const char *filename, int line_number); diff --git a/src/wmnotify.c b/src/wmnotify.c index 2ad8615..b767f66 100644 --- a/src/wmnotify.c +++ b/src/wmnotify.c @@ -64,7 +64,7 @@ static int double_click_notif; static pthread_t timer_thread; -inline void ErrorLocation(const char *file, int line) +void ErrorLocation(const char *file, int line) { fprintf(stderr, " Error in file \"%s\" at line #%d\n", file, line);