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.
This commit is contained in:
parent
8923d6176b
commit
c55d2abfc7
3 changed files with 6 additions and 13 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
|
||||||
|
|
||||||
|
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 <monnier@iro.umontreal.ca>
|
2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||||
|
|
||||||
* sysdep.c (child_setup_tty): Move the non-canonical initialization to
|
* sysdep.c (child_setup_tty): Move the non-canonical initialization to
|
||||||
|
|
|
@ -22,9 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#if HAVE_ALLOCA_H
|
|
||||||
# include <alloca.h>
|
|
||||||
#endif
|
|
||||||
#include "lisp.h"
|
#include "lisp.h"
|
||||||
#include "commands.h"
|
#include "commands.h"
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
|
|
10
src/sysdep.c
10
src/sysdep.c
|
@ -36,9 +36,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ALLOCA_H
|
|
||||||
#include <alloca.h>
|
|
||||||
#endif /* HAVE_ALLOCA_H */
|
|
||||||
|
|
||||||
#include "lisp.h"
|
#include "lisp.h"
|
||||||
/* Including stdlib.h isn't necessarily enough to get srandom
|
/* 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/>. */
|
||||||
#endif
|
#endif
|
||||||
#endif /* not WINDOWSNT */
|
#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/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue