diff options
| author | Stefan Monnier | 2011-03-31 00:24:03 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-03-31 00:24:03 -0400 |
| commit | 40d83b412f584cc02e68d4eac8fd5e6eb769e2fe (patch) | |
| tree | b56f27a7e6d75a8c1fd27b00179a27b5efea0a32 /src/floatfns.c | |
| parent | f488fb6528738131ef41859e1f04125f2e50efce (diff) | |
| parent | 44f230aa043ebb222aa0876b44d70484d5dd38db (diff) | |
| download | emacs-40d83b412f584cc02e68d4eac8fd5e6eb769e2fe.tar.gz emacs-40d83b412f584cc02e68d4eac8fd5e6eb769e2fe.zip | |
Merge from trunk
Diffstat (limited to 'src/floatfns.c')
| -rw-r--r-- | src/floatfns.c | 6 |
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 |
| 106 | static SIGTYPE float_error (); | 106 | static 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 |
| 963 | static SIGTYPE | 963 | static void |
| 964 | float_error (signo) | 964 | float_error (signo) |
| 965 | int signo; | 965 | int signo; |
| 966 | { | 966 | { |