[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101521: * src/doprnt.c: Do not inclu
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101521: * src/doprnt.c: Do not include stdlib.h, config.h does it. |
Date: |
Tue, 21 Sep 2010 14:03:34 +0300 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101521
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Tue 2010-09-21 14:03:34 +0300
message:
* src/doprnt.c: Do not include stdlib.h, config.h does it.
Move #include before macro definition.
modified:
src/ChangeLog
src/doprnt.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-09-21 06:42:12 +0000
+++ b/src/ChangeLog 2010-09-21 11:03:34 +0000
@@ -1,3 +1,8 @@
+2010-09-21 Dan Nicolaescu <address@hidden>
+
+ * doprnt.c: Do not include stdlib.h, config.h does it.
+ Move #include before macro definition.
+
2010-09-20 Dan Nicolaescu <address@hidden>
* Makefile.in (temacs): Link using $(CC) not $(LD).
=== modified file 'src/doprnt.c'
--- a/src/doprnt.c 2010-07-11 09:27:13 +0000
+++ b/src/doprnt.c 2010-09-21 11:03:34 +0000
@@ -33,21 +33,17 @@
#include <unistd.h>
#endif
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
#include "lisp.h"
-#ifndef DBL_MAX_10_EXP
-#define DBL_MAX_10_EXP 308 /* IEEE double */
-#endif
-
/* Since we use the macro CHAR_HEAD_P, we have to include this, but
don't have to include others because CHAR_HEAD_P does not contains
another macro. */
#include "character.h"
+#ifndef DBL_MAX_10_EXP
+#define DBL_MAX_10_EXP 308 /* IEEE double */
+#endif
+
/* Generate output from a format-spec FORMAT,
terminated at position FORMAT_END.
Output goes in BUFFER, which has room for BUFSIZE chars.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101521: * src/doprnt.c: Do not include stdlib.h, config.h does it.,
Dan Nicolaescu <=