# HG changeset patch # User Dan Nicolaescu # Date 1275446459 25200 # Node ID 8e26c16cde275b85b01a28077be177d7f06c1a66 # Parent 8fccefed04acdad029f6a38d38c5919dc5cfffea 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. diff -r 8fccefed04ac -r 8e26c16cde27 src/ChangeLog --- a/src/ChangeLog Tue Jun 01 19:32:43 2010 -0700 +++ b/src/ChangeLog Tue Jun 01 19:40:59 2010 -0700 @@ -1,3 +1,9 @@ +2010-06-02 Dan Nicolaescu + + 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 * sysdep.c (child_setup_tty): Move the non-canonical initialization to diff -r 8fccefed04ac -r 8e26c16cde27 src/keymap.c --- a/src/keymap.c Tue Jun 01 19:32:43 2010 -0700 +++ b/src/keymap.c Tue Jun 01 19:40:59 2010 -0700 @@ -22,9 +22,6 @@ #include #include #include -#if HAVE_ALLOCA_H -# include -#endif #include "lisp.h" #include "commands.h" #include "buffer.h" diff -r 8fccefed04ac -r 8e26c16cde27 src/sysdep.c --- a/src/sysdep.c Tue Jun 01 19:32:43 2010 -0700 +++ b/src/sysdep.c Tue Jun 01 19:40:59 2010 -0700 @@ -36,9 +36,6 @@ #ifdef HAVE_UNISTD_H #include #endif -#ifdef HAVE_ALLOCA_H -#include -#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 #include #include