Don't use type sighandler_t, which is a GNU extension. Reported by
authorBen Pfaff <blp@gnu.org>
Wed, 25 Apr 2007 15:59:20 +0000 (15:59 +0000)
committerBen Pfaff <blp@gnu.org>
Wed, 25 Apr 2007 15:59:20 +0000 (15:59 +0000)
"Daniel E WILLIAMS" <Daniel.E.Williams@state.or.us>.

src/libpspp/ChangeLog
src/libpspp/model-checker.c

index 4d3df1353bd9c5c1db9bb4feba48cf2a7fa28274..9050f18f0858a6918b922d9f875c9df4b2bd23db 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-25  Ben Pfaff  <blp@gnu.org>
+
+       * model-checker.c: Don't use type sighandler_t, which is a GNU
+       extension.  Reported by "Daniel E WILLIAMS"
+       <Daniel.E.Williams@state.or.us>.
+
 2007-04-25 John Darrington <john@darrington.wattle.id.au>
 
        * i18n.c: Fixed bug converting long strings
index cd83b39926ba02b8b124d314ab4f5cefdcf2ff52..b42f1e532409363c004da7d794b6f0eb8fcce641 100644 (file)
@@ -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. */