summaryrefslogtreecommitdiffstats
path: root/lib/libedit/sig.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libedit/sig.h')
-rw-r--r--lib/libedit/sig.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libedit/sig.h b/lib/libedit/sig.h
index 8091065..b1ce14b 100644
--- a/lib/libedit/sig.h
+++ b/lib/libedit/sig.h
@@ -13,11 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -34,7 +30,7 @@
* SUCH DAMAGE.
*
* @(#)sig.h 8.1 (Berkeley) 6/4/93
- * $NetBSD: sig.h,v 1.2 1997/01/11 06:48:11 lukem Exp $
+ * $NetBSD: sig.h,v 1.5 2003/08/07 16:44:33 agc Exp $
* $FreeBSD$
*/
@@ -62,7 +58,8 @@
_DO(SIGCONT) \
_DO(SIGWINCH)
-typedef sig_t *el_signal_t;
+typedef void (*el_signalhandler_t)(int);
+typedef el_signalhandler_t *el_signal_t;
protected void sig_end(EditLine*);
protected int sig_init(EditLine*);
OpenPOWER on IntegriCloud