summaryrefslogtreecommitdiff
path: root/cmd-line-utils/libedit/sig.h
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-02-27 03:44:44 +0200
committermonty@narttu.mysql.fi <>2003-02-27 03:44:44 +0200
commit3b073a08e0dd99df731033339c0e29ff7c07c101 (patch)
treee734507eb0df4722e03a80a37b7b9a4c53728c3e /cmd-line-utils/libedit/sig.h
parent9a46698e1efe164ac17ce0ca82b8e8ed12892c09 (diff)
downloadmariadb-git-3b073a08e0dd99df731033339c0e29ff7c07c101.tar.gz
Portability fixes
Don't define crc32 if we are not linking with gzip
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*);