summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/sig.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-02-23 20:01:20 +0000
committerbrian <brian@FreeBSD.org>1997-02-23 20:01:20 +0000
commit585f595a376a631ea26ac892478724d3cc2c2569 (patch)
tree9cc3e65a8a150cd1cecf2ed47b3e29723ad66985 /usr.sbin/ppp/sig.h
parented53640007af8113205cf24f518695622d7910ff (diff)
downloadFreeBSD-src-585f595a376a631ea26ac892478724d3cc2c2569.zip
FreeBSD-src-585f595a376a631ea26ac892478724d3cc2c2569.tar.gz
Requested by: Elvind Eklund
Remove usage of __sighandler_t as it's not available in 2.1*
Diffstat (limited to 'usr.sbin/ppp/sig.h')
-rw-r--r--usr.sbin/ppp/sig.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/sig.h b/usr.sbin/ppp/sig.h
index f11ccdf..3ffe765 100644
--- a/usr.sbin/ppp/sig.h
+++ b/usr.sbin/ppp/sig.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sig.h,v 1.2 1997/02/22 16:10:53 peter Exp $
+ * $Id: sig.h,v 1.3 1997/02/23 19:28:56 brian Exp $
*
* TODO:
*
@@ -34,8 +34,10 @@
#include <signal.h>
+typedef void (*sig_type)(int);
+
/* Call this instead of signal() */
-extern __sighandler_t *pending_signal __P((int, __sighandler_t *));
+extern sig_type pending_signal __P((int, sig_type));
/* Call this when you want things to *actually* happen */
extern void handle_signals __P((void));
OpenPOWER on IntegriCloud