]> git.tuebingen.mpg.de Git - dss.git/commitdiff
ipc.c: Uninline get_key_or_die().
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 17 Feb 2017 14:36:50 +0000 (15:36 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Apr 2017 10:32:06 +0000 (12:32 +0200)
This function is rather big, so it's not clear whether it should
be inlined or not. Without the inline attribute, that's up to the
compiler to decide.

ipc.c

diff --git a/ipc.c b/ipc.c
index f7a676ed6ec07eba5995dcaa96b9f92483857155..c55554c5d3fd815cd09c045a94f7b72d5bd5db85 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -228,7 +228,7 @@ error:
        return ret;
 }
 
        return ret;
 }
 
-static inline int get_key_or_die(const char *config_file)
+static int get_key_or_die(const char *config_file)
 {
        int ret;
        struct stat statbuf;
 {
        int ret;
        struct stat statbuf;