diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/keymap.c | 3 | ||||
| -rw-r--r-- | src/sysdep.c | 10 |
3 files changed, 6 insertions, 13 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b656b0e7dc7..9135ce8cbbc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | Remove unnecessary alloca.h includes. | ||
| 4 | * keymap.c: Do not include alloca.h, config.h does that. | ||
| 5 | * sysdep.c: Likewise. Do not define fwrite, not used. | ||
| 6 | |||
| 1 | 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * sysdep.c (child_setup_tty): Move the non-canonical initialization to | 9 | * sysdep.c (child_setup_tty): Move the non-canonical initialization to |
diff --git a/src/keymap.c b/src/keymap.c index 53b6795d623..c3a9d9e5cc0 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -22,9 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | #include <config.h> | 22 | #include <config.h> |
| 23 | #include <stdio.h> | 23 | #include <stdio.h> |
| 24 | #include <setjmp.h> | 24 | #include <setjmp.h> |
| 25 | #if HAVE_ALLOCA_H | ||
| 26 | # include <alloca.h> | ||
| 27 | #endif | ||
| 28 | #include "lisp.h" | 25 | #include "lisp.h" |
| 29 | #include "commands.h" | 26 | #include "commands.h" |
| 30 | #include "buffer.h" | 27 | #include "buffer.h" |
diff --git a/src/sysdep.c b/src/sysdep.c index 46169b28e1f..ba2a7493d74 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -36,9 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 36 | #ifdef HAVE_UNISTD_H | 36 | #ifdef HAVE_UNISTD_H |
| 37 | #include <unistd.h> | 37 | #include <unistd.h> |
| 38 | #endif | 38 | #endif |
| 39 | #ifdef HAVE_ALLOCA_H | ||
| 40 | #include <alloca.h> | ||
| 41 | #endif /* HAVE_ALLOCA_H */ | ||
| 42 | 39 | ||
| 43 | #include "lisp.h" | 40 | #include "lisp.h" |
| 44 | /* Including stdlib.h isn't necessarily enough to get srandom | 41 | /* Including stdlib.h isn't necessarily enough to get srandom |
| @@ -61,13 +58,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 61 | #endif | 58 | #endif |
| 62 | #endif /* not WINDOWSNT */ | 59 | #endif /* not WINDOWSNT */ |
| 63 | 60 | ||
| 64 | /* Does anyone other than VMS need this? */ | ||
| 65 | #ifndef fwrite | ||
| 66 | #define sys_fwrite fwrite | ||
| 67 | #else | ||
| 68 | #undef fwrite | ||
| 69 | #endif | ||
| 70 | |||
| 71 | #include <sys/types.h> | 61 | #include <sys/types.h> |
| 72 | #include <sys/stat.h> | 62 | #include <sys/stat.h> |
| 73 | #include <errno.h> | 63 | #include <errno.h> |