aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorGlenn Morris2011-03-26 19:27:11 -0700
committerGlenn Morris2011-03-26 19:27:11 -0700
commit9af30bdf17f8371664bc0c5854c91c2e46257b5e (patch)
treeef68d0a44cbdc312405a65101dbc5df41316c71a /src/floatfns.c
parent7a097943f7d3433a5d053eee4b2f3254230fee64 (diff)
downloademacs-9af30bdf17f8371664bc0c5854c91c2e46257b5e.tar.gz
emacs-9af30bdf17f8371664bc0c5854c91c2e46257b5e.zip
Remove (RET)SIGTYPE; it is identical to void on all supported systems.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro. (AH_BOTTOM): Do not define SIGTYPE. * lib-src/emacsclient.c: Replace SIGTYPE with void. * nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void). * src/syssignal.h: Replace RETSIGTYPE with void. * src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c: * src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c: * src/xterm.c: Replace SIGTYPE with void everywhere. * src/s/template.h (SIGTYPE): Remove commented out definition. * src/s/usg5-4-common.h (SIGTYPE): Remove definition. * admin/CPP-DEFINES: Remove SIGTYPE.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index bc03509b757..1232fc0afa1 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -103,7 +103,7 @@ extern double logb (double);
103#endif 103#endif
104 104
105#ifdef FLOAT_CATCH_SIGILL 105#ifdef FLOAT_CATCH_SIGILL
106static SIGTYPE float_error (); 106static void float_error ();
107#endif 107#endif
108 108
109/* Nonzero while executing in floating point. 109/* Nonzero while executing in floating point.
@@ -126,7 +126,7 @@ static const char *float_error_fn_name;
126 Handle errors which may result in signals or may set errno. 126 Handle errors which may result in signals or may set errno.
127 127
128 Note that float_error may be declared to return void, so you can't 128 Note that float_error may be declared to return void, so you can't
129 just cast the zero after the colon to (SIGTYPE) to make the types 129 just cast the zero after the colon to (void) to make the types
130 check properly. */ 130 check properly. */
131 131
132#ifdef FLOAT_CHECK_ERRNO 132#ifdef FLOAT_CHECK_ERRNO
@@ -960,7 +960,7 @@ Rounds the value toward zero. */)
960} 960}
961 961
962#ifdef FLOAT_CATCH_SIGILL 962#ifdef FLOAT_CATCH_SIGILL
963static SIGTYPE 963static void
964float_error (signo) 964float_error (signo)
965 int signo; 965 int signo;
966{ 966{