diff options
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/data.c b/src/data.c index 6b4ea32ac9e..bd1d89992cb 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Primitive operations on Lisp data types for GNU Emacs Lisp interpreter. | 1 | /* Primitive operations on Lisp data types for GNU Emacs Lisp interpreter. |
| 2 | Copyright (C) 1985-1986, 1988, 1993-1995, 1997-2011 | 2 | Copyright (C) 1985-1986, 1988, 1993-1995, 1997-2012 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -35,10 +35,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 35 | #include "termhooks.h" /* For FRAME_KBOARD reference in y-or-n-p. */ | 35 | #include "termhooks.h" /* For FRAME_KBOARD reference in y-or-n-p. */ |
| 36 | #include "font.h" | 36 | #include "font.h" |
| 37 | 37 | ||
| 38 | #ifdef STDC_HEADERS | ||
| 39 | #include <float.h> | 38 | #include <float.h> |
| 40 | #endif | ||
| 41 | |||
| 42 | /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ | 39 | /* If IEEE_FLOATING_POINT isn't defined, default it from FLT_*. */ |
| 43 | #ifndef IEEE_FLOATING_POINT | 40 | #ifndef IEEE_FLOATING_POINT |
| 44 | #if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ | 41 | #if (FLT_RADIX == 2 && FLT_MANT_DIG == 24 \ |
| @@ -842,7 +839,7 @@ do_symval_forwarding (register union Lisp_Fwd *valcontents) | |||
| 842 | 839 | ||
| 843 | case Lisp_Fwd_Kboard_Obj: | 840 | case Lisp_Fwd_Kboard_Obj: |
| 844 | /* We used to simply use current_kboard here, but from Lisp | 841 | /* We used to simply use current_kboard here, but from Lisp |
| 845 | code, it's value is often unexpected. It seems nicer to | 842 | code, its value is often unexpected. It seems nicer to |
| 846 | allow constructions like this to work as intuitively expected: | 843 | allow constructions like this to work as intuitively expected: |
| 847 | 844 | ||
| 848 | (with-selected-frame frame | 845 | (with-selected-frame frame |
| @@ -2031,7 +2028,7 @@ DEFUN ("indirect-function", Findirect_function, Sindirect_function, 1, 2, 0, | |||
| 2031 | If OBJECT is not a symbol, just return it. Otherwise, follow all | 2028 | If OBJECT is not a symbol, just return it. Otherwise, follow all |
| 2032 | function indirections to find the final function binding and return it. | 2029 | function indirections to find the final function binding and return it. |
| 2033 | If the final symbol in the chain is unbound, signal a void-function error. | 2030 | If the final symbol in the chain is unbound, signal a void-function error. |
| 2034 | Optional arg NOERROR non-nil means to return nil instead of signalling. | 2031 | Optional arg NOERROR non-nil means to return nil instead of signaling. |
| 2035 | Signal a cyclic-function-indirection error if there is a loop in the | 2032 | Signal a cyclic-function-indirection error if there is a loop in the |
| 2036 | function chain of symbols. */) | 2033 | function chain of symbols. */) |
| 2037 | (register Lisp_Object object, Lisp_Object noerror) | 2034 | (register Lisp_Object object, Lisp_Object noerror) |
| @@ -2736,8 +2733,7 @@ Both must be integers or markers. */) | |||
| 2736 | 2733 | ||
| 2737 | #ifndef HAVE_FMOD | 2734 | #ifndef HAVE_FMOD |
| 2738 | double | 2735 | double |
| 2739 | fmod (f1, f2) | 2736 | fmod (double f1, double f2) |
| 2740 | double f1, f2; | ||
| 2741 | { | 2737 | { |
| 2742 | double r = f1; | 2738 | double r = f1; |
| 2743 | 2739 | ||