From ac8cfd7b930d57b6526415a8e67204d207022bda Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 2 Jun 2009 15:02:11 +0000 Subject: avoid compiler warnings git-svn-id: svn://tug.org/texlive/trunk@13581 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvidvi/ChangeLog | 5 +++++ Build/source/texk/dvidvi/dvidvi.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/dvidvi') diff --git a/Build/source/texk/dvidvi/ChangeLog b/Build/source/texk/dvidvi/ChangeLog index eae98bf51ec..120a7758252 100644 --- a/Build/source/texk/dvidvi/ChangeLog +++ b/Build/source/texk/dvidvi/ChangeLog @@ -1,3 +1,8 @@ +2009-06-02 Peter Breitenlohner + + * dvidvi.c: always include , to avoid implicit + declaration of calloc, exit, free, and malloc. + 2009-05-27 Peter Breitenlohner Adapt to TL2009 build system. diff --git a/Build/source/texk/dvidvi/dvidvi.c b/Build/source/texk/dvidvi/dvidvi.c index 5d9a4948a39..0ff035f1cc5 100644 --- a/Build/source/texk/dvidvi/dvidvi.c +++ b/Build/source/texk/dvidvi/dvidvi.c @@ -38,13 +38,11 @@ "Improved from 1.0 to 1.1, 1994, Markus Kohm\n" #define STRINGSIZE (500L) /* maximum number of strings in program */ -#ifdef WIN32 +#ifndef VMS #include +#ifdef WIN32 #include #endif -void error(char *); - -#ifndef VMS #include #include #else /* VMS */ @@ -53,6 +51,8 @@ void error(char *); #endif /* VMS */ #define MAXPPERP (32) +void error(char *); + /* defines READBIN, WRITEBIN, PATHSEP and IS_DIR_SEP*/ #ifdef HAVE_CONFIG_H -- cgit v1.2.3