summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-07-08 17:50:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-07-08 17:50:39 -0700
commitcebea291d98aea89f681bd5454fac178b54039ba (patch)
tree588d5f7be2021eb3e47a177a8714b1d02c40e5de
parentf8ab90839fe64b2ec8b398a50e8fb4f33e8e95e1 (diff)
downloademacs-cebea291d98aea89f681bd5454fac178b54039ba.tar.gz
emacs-cebea291d98aea89f681bd5454fac178b54039ba.tar.bz2
emacs-cebea291d98aea89f681bd5454fac178b54039ba.zip
Avoid some unnecessary stdio.h includes
* src/atimer.c, src/callproc.c, src/coding.c, src/dired.c, src/eval.c: * src/fringe.c, src/ftcrfont.c, src/ftfont.c, src/ftxfont.c: * src/gfilenotify.c, src/indent.c, src/kqueue.c, src/menu.c: * src/scroll.c, src/terminal.c, src/unexcoff.c, src/window.c: * src/xfont.c, src/xftfont.c: Do not include stdio.h since it is unused.
-rw-r--r--src/atimer.c1
-rw-r--r--src/callproc.c1
-rw-r--r--src/coding.c1
-rw-r--r--src/dired.c1
-rw-r--r--src/eval.c1
-rw-r--r--src/fringe.c1
-rw-r--r--src/ftcrfont.c1
-rw-r--r--src/ftfont.c1
-rw-r--r--src/ftxfont.c1
-rw-r--r--src/gfilenotify.c1
-rw-r--r--src/indent.c1
-rw-r--r--src/kqueue.c1
-rw-r--r--src/menu.c1
-rw-r--r--src/scroll.c1
-rw-r--r--src/terminal.c2
-rw-r--r--src/unexcoff.c1
-rw-r--r--src/window.c2
-rw-r--r--src/xfont.c1
-rw-r--r--src/xftfont.c1
19 files changed, 0 insertions, 21 deletions
diff --git a/src/atimer.c b/src/atimer.c
index 8387b8aa0e0..b28f3e25961 100644
--- a/src/atimer.c
+++ b/src/atimer.c
@@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include "lisp.h"
#include "keyboard.h"
diff --git a/src/callproc.c b/src/callproc.c
index 98c67312b49..2596f9019e4 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -21,7 +21,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
#include <errno.h>
-#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
diff --git a/src/coding.c b/src/coding.c
index e90d57144f6..189a4b39d15 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -284,7 +284,6 @@ encode_coding_XXX (struct coding_system *coding)
/*** 1. Preamble ***/
#include <config.h>
-#include <stdio.h>
#ifdef HAVE_WCHAR_H
#include <wchar.h>
diff --git a/src/dired.c b/src/dired.c
index b700013f6a8..7bc4b83fd77 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -20,7 +20,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <sys/stat.h>
#ifdef HAVE_PWD_H
diff --git a/src/eval.c b/src/eval.c
index 0006123b0af..8f569949036 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -21,7 +21,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
#include <limits.h>
-#include <stdio.h>
#include <stdlib.h>
#include "lisp.h"
#include "blockinput.h"
diff --git a/src/fringe.c b/src/fringe.c
index 335a6eb0468..d0d599223d5 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <byteswap.h>
diff --git a/src/ftcrfont.c b/src/ftcrfont.c
index ff61ecfe313..93786212160 100644
--- a/src/ftcrfont.c
+++ b/src/ftcrfont.c
@@ -18,7 +18,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <math.h>
#include <cairo-ft.h>
diff --git a/src/ftfont.c b/src/ftfont.c
index 74afa2cf5a2..a80e2fb5c4b 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <fontconfig/fontconfig.h>
#include <fontconfig/fcfreetype.h>
diff --git a/src/ftxfont.c b/src/ftxfont.c
index b1467360ad6..ae7d1a5a9b5 100644
--- a/src/ftxfont.c
+++ b/src/ftxfont.c
@@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <X11/Xlib.h>
#include "lisp.h"
diff --git a/src/gfilenotify.c b/src/gfilenotify.c
index ddb19770c3c..af7740a87ca 100644
--- a/src/gfilenotify.c
+++ b/src/gfilenotify.c
@@ -18,7 +18,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <gio/gio.h>
#include "lisp.h"
#include "coding.h"
diff --git a/src/indent.c b/src/indent.c
index f0d709e38b3..1b589a710cf 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -18,7 +18,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include "lisp.h"
#include "character.h"
diff --git a/src/kqueue.c b/src/kqueue.c
index 42391f84677..76d7fc1ecbd 100644
--- a/src/kqueue.c
+++ b/src/kqueue.c
@@ -19,7 +19,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
diff --git a/src/menu.c b/src/menu.c
index e82c8570595..f67bdf05667 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -19,7 +19,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <limits.h> /* for INT_MAX */
#include "lisp.h"
diff --git a/src/scroll.c b/src/scroll.c
index 8eda510945f..e6c058351ab 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -20,7 +20,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include "lisp.h"
#include "termchar.h"
diff --git a/src/terminal.c b/src/terminal.c
index 0ee0121e35e..bb02d586615 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -18,8 +18,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
-
#include "lisp.h"
#include "character.h"
#include "frame.h"
diff --git a/src/unexcoff.c b/src/unexcoff.c
index 220ce709df9..03ff99460d0 100644
--- a/src/unexcoff.c
+++ b/src/unexcoff.c
@@ -96,7 +96,6 @@ struct aouthdr
#ifndef makedev /* Try to detect types.h already loaded */
#include <sys/types.h>
#endif /* makedev */
-#include <stdio.h>
#include <errno.h>
#include <sys/file.h>
diff --git a/src/window.c b/src/window.c
index deeb4f63fe0..1b205367275 100644
--- a/src/window.c
+++ b/src/window.c
@@ -20,8 +20,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
-
#include "lisp.h"
#include "buffer.h"
#include "keyboard.h"
diff --git a/src/xfont.c b/src/xfont.c
index 81808e7a62e..9a8417b12d4 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
diff --git a/src/xftfont.c b/src/xftfont.c
index 2cad6db933b..74add58007d 100644
--- a/src/xftfont.c
+++ b/src/xftfont.c
@@ -20,7 +20,6 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/Xft/Xft.h>