[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100500: Remove unnecessary alloca.h
From: |
Dan Nicolaescu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100500: Remove unnecessary alloca.h includes. |
Date: |
Tue, 01 Jun 2010 19:40:59 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100500
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Tue 2010-06-01 19:40:59 -0700
message:
Remove unnecessary alloca.h includes.
* src/keymap.c: Do not include alloca.h, config.h does that.
* src/sysdep.c: Likewise. Do not define fwrite, not used.
modified:
src/ChangeLog
src/keymap.c
src/sysdep.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-06-01 02:34:49 +0000
+++ b/src/ChangeLog 2010-06-02 02:40:59 +0000
@@ -1,3 +1,9 @@
+2010-06-02 Dan Nicolaescu <address@hidden>
+
+ Remove unnecessary alloca.h includes.
+ * keymap.c: Do not include alloca.h, config.h does that.
+ * sysdep.c: Likewise. Do not define fwrite, not used.
+
2010-06-01 Stefan Monnier <address@hidden>
* sysdep.c (child_setup_tty): Move the non-canonical initialization to
=== modified file 'src/keymap.c'
--- a/src/keymap.c 2010-05-31 19:35:04 +0000
+++ b/src/keymap.c 2010-06-02 02:40:59 +0000
@@ -22,9 +22,6 @@
#include <config.h>
#include <stdio.h>
#include <setjmp.h>
-#if HAVE_ALLOCA_H
-# include <alloca.h>
-#endif
#include "lisp.h"
#include "commands.h"
#include "buffer.h"
=== modified file 'src/sysdep.c'
--- a/src/sysdep.c 2010-06-01 01:49:15 +0000
+++ b/src/sysdep.c 2010-06-02 02:40:59 +0000
@@ -36,9 +36,6 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif /* HAVE_ALLOCA_H */
#include "lisp.h"
/* Including stdlib.h isn't necessarily enough to get srandom
@@ -61,13 +58,6 @@
#endif
#endif /* not WINDOWSNT */
-/* Does anyone other than VMS need this? */
-#ifndef fwrite
-#define sys_fwrite fwrite
-#else
-#undef fwrite
-#endif
-
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100500: Remove unnecessary alloca.h includes.,
Dan Nicolaescu <=