]> Sergey Matveev's repositories - nnn.git/commitdiff
Inline printmsg
authorArun Prakash Jana <engineerarun@gmail.com>
Mon, 11 Mar 2019 15:03:19 +0000 (20:33 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Mon, 11 Mar 2019 15:03:19 +0000 (20:33 +0530)
src/nnn.c

index 0446e019a776828695cae9e1e317a8812e2a460d..46d14fa756a3a15b7eeff26109e881dc0895ecaf 100644 (file)
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -574,7 +574,7 @@ static char *xitoa(uint val)
 }
 
 /* Messages show up at the bottom */
-static void printmsg(const char *msg)
+static inline void printmsg(const char *msg)
 {
        mvprintw(xlines - 1, 0, "%s\n", msg);
 }