summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvi2tty
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-22 14:30:21 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-22 14:30:21 +0000
commit3e2785aecd503a2883b01f915f12a9204ed421b7 (patch)
tree118960883c007741558c603d1c610f3164133b10 /Build/source/texk/dvi2tty
parentae201c42a990e9091510d50fa49386a12590a61c (diff)
use <stdarg.h>, not <kpathsea/c-vararg.h>
git-svn-id: svn://tug.org/texlive/trunk@13884 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvi2tty')
-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