summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvi2tty/ChangeLog5
-rw-r--r--Build/source/texk/dvi2tty/disdvi.c1
-rw-r--r--Build/source/texk/dvi2tty/dvi2tty.c3
-rw-r--r--Build/source/texk/dvi2tty/dvi2tty.h1
4 files changed, 7 insertions, 3 deletions
diff --git a/Build/source/texk/dvi2tty/ChangeLog b/Build/source/texk/dvi2tty/ChangeLog
index c715173de65..deb151d0cf7 100644
--- a/Build/source/texk/dvi2tty/ChangeLog
+++ b/Build/source/texk/dvi2tty/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dvi2tty.c (readable_file): declare as static.
+ * disdvi.c, dvi2tty.h: do not #include <kpathsea/c-proto.h>.
+
2009-06-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: enable compiler warnings.
diff --git a/Build/source/texk/dvi2tty/disdvi.c b/Build/source/texk/dvi2tty/disdvi.c
index a7361783a6a..6a7f7cc64cc 100644
--- a/Build/source/texk/dvi2tty/disdvi.c
+++ b/Build/source/texk/dvi2tty/disdvi.c
@@ -21,7 +21,6 @@ char *disdvi = "@(#) disdvi.c 2.1 19/01/90 M.J.E. Mol (c) 1989, 1990";
#if defined(KPATHSEA)
#define NO_DEBUG
#include <kpathsea/config.h>
-#include <kpathsea/c-proto.h>
#include <kpathsea/lib.h>
#else
#if defined(MSDOS)
diff --git a/Build/source/texk/dvi2tty/dvi2tty.c b/Build/source/texk/dvi2tty/dvi2tty.c
index ac75ba6b645..a0ae772f1b3 100644
--- a/Build/source/texk/dvi2tty/dvi2tty.c
+++ b/Build/source/texk/dvi2tty/dvi2tty.c
@@ -478,7 +478,8 @@ int pagnr;
(access (fn, R_OK) == 0 && stat (fn, &(st)) == 0 && !S_ISDIR (st.st_mode))
#endif
-char * readable_file(char *name)
+static char *
+readable_file(char *name)
{
char *ret;
diff --git a/Build/source/texk/dvi2tty/dvi2tty.h b/Build/source/texk/dvi2tty/dvi2tty.h
index 1a0362df040..5a31a610d8f 100644
--- a/Build/source/texk/dvi2tty/dvi2tty.h
+++ b/Build/source/texk/dvi2tty/dvi2tty.h
@@ -16,7 +16,6 @@ Copyright (C) 1988 M.J.E. Mol 1989, 1990"
#if defined(KPATHSEA)
#define NO_DEBUG
#include <kpathsea/config.h>
-#include <kpathsea/c-proto.h>
#endif
#ifndef KPATHSEA