1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 00:10:48 -08:00
emacs/src
Paul Eggert 63cfb75f3a Include-file cleanup for src directory
Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
but does not include it directly.  As a general rule, a source
file should include foo.h if it needs the interfaces that foo.h
defines.
* src/alloc.c: Don’t include process.h.  Include dispextern.h,
systime.h.
* src/atimer.c: Don’t include blockinput.h.
* src/buffer.c: Include coding.h, systime.h.  Don’t include
keyboard.h, coding.h.
* src/callint.c: Don’t include commands.h, keymap.h.
* src/callproc.c: Don’t include character.h, ccl.h, composite.h,
systty.h, termhooks.h.
* src/casetab.c: Don’t include character.h.
* src/category.c: Don’t include charset.h, keymap.h.
* src/ccl.h: Don’t include character.h.
* src/character.c: Don’t include charset.h.
* src/charset.c: Don’t include disptab.h.
* src/chartab.c: Don’t include ccl.h.
* src/cm.c: Don’t include frame.h, termhooks.h.
* src/cmds.c: Don’t include window.h, dispextern.h.
* src/coding.c: Don’t include window.h, frame.h.
* src/composite.c: Include composite.h.  Don’t include window.h,
font.h.
* src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
* src/dbusbind.c: Don’t include frame.h.
* src/decompress.c: Don’t include character.h.
* src/dired.c: Don’t include character.h, commands.h, charset.h.
* src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
process.h, timespec.h.  Include systime.h.
* src/doc.c: Include coding.h.  Don’t include keyboard.h.
* src/editfns.c: Include composite.h.  Don’t include frame.h.
* src/emacs.c: Include fcntl.h, coding.h.  Don’t include
commands.h, systty.h..
* src/fileio.c: Don’t include intervals.h, dispextern.h.
Include composite.h.
* src/filelock.c: Don’t include character.h, systime.h.
* src/fns.c: Don’t include time.h, commands.h, keyboard.h,
keymap.h, frame.h, blockinput.h, xterm.h.  Include composite.h.
* src/font.c: Include termhooks.h.
* src/font.h: Don’t include ccl.h, frame.h.  Add forward decls of
struct composition_it, struct face, struct glyph_string.
* src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
intervals.h, window.h, termhooks.h.
* src/frame.c: Don’t include character.h, commands.h, font.h.
* src/frame.h: Don’t include dispextern.h.
* src/fringe.c: Don’t include character.h.
* src/ftcrfont.c: Don’t include dispextern.h, frame.h,
character.h, charset.h, fontset.h.
* src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
fontset.h.
* src/ftxfont.c: Don’t include dispextern.h, character.h,
charset.h, fontset.h.
* src/gfilenotify.c: Don’t include frame.h, process.h.
* src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
Don’t include syssignal.h, buffer.h, charset.h, font.h.
* src/gtkutil.h: Don’t include frame.h.
* src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
Don’t include character.h.
* src/indent.c: Don’t include keyboard.h, termchar.h.
* src/inotify.c: Don’t include character.h, frame.h.
* src/insdel.c: Include composite.h.  Don’t include blockinput.h.
* src/intervals.c: Don’t include character.h, keyboard.h.
* src/intervals.h: Don’t include dispextern.h, composite.h.
* src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
Include coding.h.
* src/keyboard.h: Don’t incldue systime.h.
* src/keymap.c: Don’t include charset.h, frame.h.
* src/lread.c: Include dispextern.h and systime.h.
Don’t include frame.h.  Include systime.h.
* src/macros.c: Don’t include commands.h, character.h, buffer.h.
* src/menu.c: Include character.h, coding.h.  Don’t include
dispextern.h.
* src/menu.h: Don’t include systime.h.
* src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
intervals.h, termhooks.h.
* src/print.c: Include coding.h.  Don’t include keyboard.h,
window.h, dispextern.h, termchar.h, termhooks.h, font.h.
Add forward decl of struct terminal.
* src/process.c: Don’t include termhooks.h, commands.h,
dispextern.h, composite.h.
* src/region-cache.c: Don’t include character.h.
* src/scroll.c: Don’t include keyboard.h, window.h.
* src/search.c: Don’t include category.h, commands.h.
* src/sound.c: Don’t include dispextern.h.
* src/syntax.c: Don’t include command.h, keymap.h.
* src/sysdep.c: Don’t include window.h, dispextern.h.
* src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
* src/term.c: Don’t include systty.h, intervals.h, xterm.h.
* src/terminal.c: Include character.h.
Don’t include charset.h, coding.h.
* src/textprop.c: Don’t include character.h.
* src/undo.c: Don’t include character.h, commands.h, window.h.
* src/unexsol.c: Don’t include character.h, charset.h.
* src/widget.c: Include widget.h.  Don’t include keyboard.h,
window.h, dispextern.h, blockinput.h, character.h, font.h.
* src/widgetprv.h: Don’t include widget.h.
* src/window.c: Don’t include character.h, menu.h, intervals.h.
* src/xdisp.c: Include composite.h, systime.h.  Don’t include
macros.h, process.h.
* src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
intervals.h.
* src/xfns.c: Don’t include menu.h, character.h, intervals.h,
epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
* src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
* src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
* src/xgselect.c: Don’t include timespec.h, frame.h.
Include systime.h.
* src/xgselect.h: Don’t include time.h.
Use a forward decl to struct timespec instead.
* src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
dispextern.h.  Include systime.h.
* src/xml.c: Don’t include character.h.
* src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
* src/xselect.c: Don’t include dispextern.h, character.h,
buffer.h, process.h.
* src/xsmfns.c: Don’t include systime.h, sysselect.h.
* src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
intervals.h process.h, keymap.h, xgselect.h.  Include composite.h.
2015-10-20 18:35:53 -07:00
..
bitmaps
.dbxinit
.gdbinit
alloc.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
atimer.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
atimer.h
bidi.c Fix display of characters adjacent to ZWJ and ZWNJ 2015-10-06 19:08:21 +03:00
blockinput.h
buffer.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
buffer.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
bytecode.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
callint.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
callproc.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
casefiddle.c
casetab.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
category.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
category.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
ccl.c
ccl.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13 Don't call do_pending_window_change in signal handlers (Bug#21380) 2015-08-31 11:09:22 +02:00
character.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
character.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
charset.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
charset.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
chartab.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
cm.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
cm.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
cmds.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
coding.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
coding.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
commands.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
composite.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
composite.h
conf_post.h Fix --enable-gcc-warnings problem with older GCC 2015-10-10 11:57:36 -07:00
COPYING
cygw32.c
cygw32.h
data.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
dbusbind.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
decompress.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
deps.mk
dired.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
dispextern.h Add -Wswitch to --enable-gcc-warnings 2015-09-16 15:07:23 -07:00
dispnew.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
disptab.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
doc.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
doprnt.c Avoid non-ASCII decoding errors in C src files 2015-09-25 20:29:27 +03:00
dosfns.c
dosfns.h
editfns.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
emacs-icon.h
emacs.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
emacsgtkfixed.c
emacsgtkfixed.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
epaths.in
eval.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
fileio.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
filelock.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
firstfile.c
floatfns.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
fns.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
font.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
font.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fontset.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fontset.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
frame.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
frame.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
fringe.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ftcrfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ftfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
ftfont.h
ftxfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
getpagesize.h
gfilenotify.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
gmalloc.c
gnutls.c
gnutls.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
gtkutil.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
gtkutil.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
image.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
indent.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
indent.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
inotify.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
insdel.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
intervals.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
intervals.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keyboard.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keyboard.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keymap.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
keymap.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
lastfile.c
lisp.h Take XPNTR private 2015-10-13 23:10:14 -07:00
lread.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
macfont.h Use Core Text types/functions/variables/enumerators directly 2015-08-29 17:03:55 +09:00
macfont.m * src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars. 2015-10-05 09:16:21 +09:00
macros.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
macros.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
macuvs.h
Makefile.in Use ‘echo’ safely with ‘\’ or leading ‘-’ 2015-10-10 18:11:27 -07:00
marker.c
menu.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
menu.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
minibuf.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
msdos.c
msdos.h
nsfns.m Allow setting frame pixel sizes from frame parameters (Bug#21415) 2015-10-13 12:11:43 +02:00
nsfont.m Fix quoting in ‘message_with_string’ 2015-08-26 13:12:26 -07:00
nsgui.h
nsimage.m In nsimage.m include coding.h (Bug#21292) 2015-08-19 11:26:37 +02:00
nsmenu.m
nsselect.m Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
nsterm.h
nsterm.m Allow setting frame pixel sizes from frame parameters (Bug#21415) 2015-10-13 12:11:43 +02:00
print.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
process.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
process.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
profiler.c Fix some int overflows in profiler.c 2015-07-31 10:13:36 -07:00
puresize.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
ralloc.c
README Prefer straight quoting in some text files 2015-09-11 11:05:12 -07:00
regex.c Fix some minor quoting issues with grave accent 2015-08-09 16:23:06 -07:00
regex.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
region-cache.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
region-cache.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
scroll.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
search.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
sheap.c Enable --with-wide-int build on 32-bit Cygwin 2015-10-19 16:58:09 -04:00
sound.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
syntax.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
syntax.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
sysdep.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
sysselect.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
syssignal.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
sysstdio.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
systime.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
systty.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
syswait.h
term.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
termcap.c
termchar.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
termhooks.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
terminal.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
terminfo.c
termopts.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
textprop.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
tparam.c
tparam.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
undo.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
unexaix.c
unexcoff.c
unexcw.c
unexec.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
unexelf.c
unexhp9k800.c
unexmacosx.c
unexsol.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
unexw32.c
vm-limit.c Add -Wswitch to --enable-gcc-warnings 2015-09-16 15:07:23 -07:00
w16select.c Omit unnecessary \ before paren in C docstrings 2015-09-16 16:26:07 -07:00
w32.c Fix deletion of symlinks to directories on MS-Windows 2015-09-07 18:26:36 +03:00
w32.h Make file-accessible-directory-p reliable on MS-Windows 2015-08-31 17:48:26 +03:00
w32common.h
w32console.c
w32fns.c * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame. 2015-10-13 15:22:50 +02:00
w32font.c
w32font.h
w32gui.h
w32heap.c
w32heap.h
w32inevt.c
w32inevt.h
w32menu.c
w32notify.c Use common report_file_notify_error function 2015-09-16 15:50:37 +02:00
w32proc.c * src/w32proc.c (sys_select): Fix bitwise test. 2015-10-12 21:05:07 +02:00
w32reg.c
w32select.c
w32select.h
w32term.c Allow setting frame pixel sizes from frame parameters (Bug#21415) 2015-10-13 12:11:43 +02:00
w32term.h
w32uniscribe.c Remove or comment out unused variables 2015-10-12 21:43:39 +02:00
w32xfns.c
widget.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
widget.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
widgetprv.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
window.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
window.h
xdisp.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xfaces.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xfns.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xftfont.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xgselect.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xgselect.h Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xmenu.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xml.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xrdb.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xselect.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xsettings.c Fix DPI calculation when Xft/DPI is default 2015-08-09 23:23:38 -07:00
xsettings.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
xsmfns.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xterm.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
xterm.h Add x_catch_errors_with_handler. 2015-10-11 01:15:12 -04:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2015 Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

The file 'Makefile.in' is used as a template by the script
'../configure' to produce 'Makefile'.  This is the file which actually
controls the compilation of Emacs C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run 'make'.

This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.