diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-23 17:26:01 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-23 17:26:01 +0200 |
commit | 098a0c2a7ba3e16d6a8c01a197ce0d44e62b8aef (patch) | |
tree | 7e2da50d5c924a8e9e37de8e290274c8718b3287 /sinksh | |
parent | 426392f71d5f45aad8c57969643fd6c365ce2362 (diff) | |
download | sink-098a0c2a7ba3e16d6a8c01a197ce0d44e62b8aef.tar.gz sink-098a0c2a7ba3e16d6a8c01a197ce0d44e62b8aef.zip |
linenoise: Use inline instead of static
Diffstat (limited to 'sinksh')
-rw-r--r-- | sinksh/repl/linenoise.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sinksh/repl/linenoise.hpp b/sinksh/repl/linenoise.hpp index fa7aa7f..251da7f 100644 --- a/sinksh/repl/linenoise.hpp +++ b/sinksh/repl/linenoise.hpp | |||
@@ -1827,7 +1827,7 @@ inline int completeLine(struct linenoiseState *ls, char *cbuf, int *c) { | |||
1827 | } | 1827 | } |
1828 | 1828 | ||
1829 | /* Register a callback function to be called for tab-completion. */ | 1829 | /* Register a callback function to be called for tab-completion. */ |
1830 | static void SetCompletionCallback(CompletionCallback fn) { | 1830 | inline void SetCompletionCallback(CompletionCallback fn) { |
1831 | completionCallback = fn; | 1831 | completionCallback = fn; |
1832 | } | 1832 | } |
1833 | 1833 | ||