projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51283b8
)
lineedit: fix "defined but not used" sigaction2 warning
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 8 Dec 2018 14:45:46 +0000
(15:45 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 8 Dec 2018 14:45:46 +0000
(15:45 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/lineedit.c
patch
|
blob
|
history
diff --git
a/libbb/lineedit.c
b/libbb/lineedit.c
index 378f0900af61098277e08eda920ced16258bc1cc..3ed38e54d8e31d861a5c5b857ddee7018a937923 100644
(file)
--- a/
libbb/lineedit.c
+++ b/
libbb/lineedit.c
@@
-2309,6
+2309,7
@@
static int32_t reverse_i_search(int timeout)
}
#endif
+#if ENABLE_FEATURE_EDITING_WINCH
static void sigaction2(int sig, struct sigaction *act)
{
// Grr... gcc 8.1.1:
@@
-2318,6
+2319,7
@@
static void sigaction2(int sig, struct sigaction *act)
oact = act;
sigaction(sig, act, oact);
}
+#endif
/* maxsize must be >= 2.
* Returns: