summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvidvi/dvidvi.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:32:41 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:32:41 +0000
commit558303c70cdfd3bc2465cb99c2f8d81a64efcf31 (patch)
treeb308833d445fde6a5ad48558fe4eff1b86ab7ff7 /Build/source/texk/dvidvi/dvidvi.c
parent81f0eba86eca049a6da0619b12d767e51aea3efb (diff)
towards TL2010: texk/ misc
git-svn-id: svn://tug.org/texlive/trunk@15976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvidvi/dvidvi.c')
-rw-r--r--Build/source/texk/dvidvi/dvidvi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvidvi/dvidvi.c b/Build/source/texk/dvidvi/dvidvi.c
index e1d175dc719..c32ab1e5b62 100644
--- a/Build/source/texk/dvidvi/dvidvi.c
+++ b/Build/source/texk/dvidvi/dvidvi.c
@@ -51,7 +51,7 @@
#endif /* VMS */
#define MAXPPERP (32)
-void error(char *);
+void error(const char *);
/* defines READBIN, WRITEBIN, PATHSEP and IS_DIR_SEP*/
@@ -130,7 +130,7 @@ FILE *outfile ; /* output dvi file */
char *temp ; /* a temporary place to put things */
char *nextstring, *maxstring ;
-char *oname=NULL ; /* output dvi file name */
+const char *oname=NULL ; /* output dvi file name */
char *iname ; /* input dvi file name */
char *strings ; /* pointer of the string pool */
@@ -351,7 +351,7 @@ static void usage(void) {
/*
* Print an error message, and exit if it is fatal.
*/
-void error(char *s)
+void error(const char *s)
{
(void)fprintf(stderr, "%s\n", s) ; /* AKT: was dvidvi: %s */
if (*s == '!')
@@ -982,7 +982,7 @@ static void putbuf(integer length)
/*
* This routine outputs a string, terminated by null.
*/
-static void putstr(unsigned char *s)
+static void putstr(unsigned const char *s)
{
while (*s)
outdvibyte(*s++) ;