From 8069b799acd017ea32510fb977a7a42f5a747c6c Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Fri, 14 Dec 2018 11:29:24 -0500 Subject: [PATCH] Fix compiler warning about inline function --- src/common.h | 2 +- src/wmnotify.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.20.1