diff options
| author | Paul Eggert | 2013-07-05 09:58:01 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-07-05 09:58:01 -0700 |
| commit | 47ba6d4383a3f5a590ccee6c456b41e721a2274c (patch) | |
| tree | a2deb488c6c3318732a75bc608f4ceca8fcddbef /src/buffer.c | |
| parent | f114e6c3ca0d5402e8996fc02977d9166b898e4d (diff) | |
| download | emacs-47ba6d4383a3f5a590ccee6c456b41e721a2274c.tar.gz emacs-47ba6d4383a3f5a590ccee6c456b41e721a2274c.zip | |
Remove duplicate #include directives.
* alloc.c [GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES]:
* xfaces.c:
Don't include stdio.h twice.
* buffer.c [USE_MMAP_FOR_BUFFERS]:
Don't include sys/types.h or stdio.h twice.
* fileio.c [WINDOWSNT | MSDOS]: Don't include fcntl.h twice.
* lread.c: Don't include coding.h twice.
* nsfont.m: Don't include frame.h twice.
* process.c [HAVE_RES_INIT]: Don't include <netinet/in.h> twice.
* ralloc.c: Don't include <unistd.h> twice.
* xdisp.c: Don't include font.h twice.
* xterm.c: Don't include fontset.h twice.
* xterm.h [USE_X_TOOLKIT]: Don't include X11/StringDefs.h twice.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c index ad670e0a121..64b1bce9b00 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -4603,7 +4603,6 @@ evaporate_overlays (ptrdiff_t pos) | |||
| 4603 | 4603 | ||
| 4604 | #ifdef USE_MMAP_FOR_BUFFERS | 4604 | #ifdef USE_MMAP_FOR_BUFFERS |
| 4605 | 4605 | ||
| 4606 | #include <sys/types.h> | ||
| 4607 | #include <sys/mman.h> | 4606 | #include <sys/mman.h> |
| 4608 | 4607 | ||
| 4609 | #ifndef MAP_ANON | 4608 | #ifndef MAP_ANON |
| @@ -4618,8 +4617,6 @@ evaporate_overlays (ptrdiff_t pos) | |||
| 4618 | #define MAP_FAILED ((void *) -1) | 4617 | #define MAP_FAILED ((void *) -1) |
| 4619 | #endif | 4618 | #endif |
| 4620 | 4619 | ||
| 4621 | #include <stdio.h> | ||
| 4622 | |||
| 4623 | #if MAP_ANON == 0 | 4620 | #if MAP_ANON == 0 |
| 4624 | #include <fcntl.h> | 4621 | #include <fcntl.h> |
| 4625 | #endif | 4622 | #endif |