diff options
| author | Dan Nicolaescu | 2010-06-01 19:40:59 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-06-01 19:40:59 -0700 |
| commit | c55d2abfc73923cedd0bcd11fc40d1739ae7a109 (patch) | |
| tree | 8666d50332204644d8f61ea559041bd5b510465d /src/sysdep.c | |
| parent | 8923d6176b785c2d800d27960d55a7dec3fed71b (diff) | |
| download | emacs-c55d2abfc73923cedd0bcd11fc40d1739ae7a109.tar.gz emacs-c55d2abfc73923cedd0bcd11fc40d1739ae7a109.zip | |
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.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 10 |
1 files changed, 0 insertions, 10 deletions
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> |