summaryrefslogtreecommitdiff
path: root/cmd-line-utils/libedit/sig.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-line-utils/libedit/sig.h')
-rw-r--r--cmd-line-utils/libedit/sig.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/sig.h b/cmd-line-utils/libedit/sig.h
index e7231b65cf4..399e3a69437 100644
--- a/cmd-line-utils/libedit/sig.h
+++ b/cmd-line-utils/libedit/sig.h
@@ -62,7 +62,9 @@
_DO(SIGCONT) \
_DO(SIGWINCH)
-typedef sig_t *el_signal_t;
+typedef RETSIGTYPE (*libedit_sig_t)();
+typedef libedit_sig_t *el_signal_t;
+
protected void sig_end(EditLine*);
protected int sig_init(EditLine*);