]> Untitled Git - dockapps/wmnotify.git/commitdiff
Fix compiler warning about inline function
authorHugo Villeneuve <hvilleneuve@addenergie.ca>
Fri, 14 Dec 2018 16:29:24 +0000 (11:29 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 15 Feb 2019 22:14:53 +0000 (17:14 -0500)
src/common.h
src/wmnotify.c

index b1517f2c09a4960b359fe80966b3553b6acb43b6..24b87908de2f0065adf3f8c78c27c070d3b5adf9 100644 (file)
@@ -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);
index 2ad8615306e255fe404b1ca585b3944610b3d465..b767f66078d46b73b2cb5708073de43470985968 100644 (file)
@@ -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);