From 8d41a603943ad04b925f99336e59b4bcbe2fafd9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 25 Apr 2007 15:59:20 +0000 Subject: [PATCH] Don't use type sighandler_t, which is a GNU extension. Reported by "Daniel E WILLIAMS" . --- src/libpspp/ChangeLog | 6 ++++++ src/libpspp/model-checker.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/libpspp/ChangeLog b/src/libpspp/ChangeLog index 4d3df135..9050f18f 100644 --- a/src/libpspp/ChangeLog +++ b/src/libpspp/ChangeLog @@ -1,3 +1,9 @@ +2007-04-25 Ben Pfaff + + * model-checker.c: Don't use type sighandler_t, which is a GNU + extension. Reported by "Daniel E WILLIAMS" + . + 2007-04-25 John Darrington * i18n.c: Fixed bug converting long strings diff --git a/src/libpspp/model-checker.c b/src/libpspp/model-checker.c index cd83b399..b42f1e53 100644 --- a/src/libpspp/model-checker.c +++ b/src/libpspp/model-checker.c @@ -890,7 +890,7 @@ struct mc /* Information for handling and restoring SIGINT. */ bool interrupted; /* SIGINT received? */ bool *saved_interrupted_ptr; /* Saved value of interrupted_ptr. */ - sighandler_t saved_sigint; /* Saved SIGINT handler. */ + void (*saved_sigint) (int); /* Saved SIGINT handler. */ }; /* A state in the queue. */ -- 2.30.2