summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/gethost.c
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
committermp <mp@FreeBSD.org>2004-07-11 02:17:56 +0000
commitfc6d10ab3edf803f748e673fdd1f64a3d9640ca2 (patch)
treed96ddad6fded51e784b4b77eea8ca0d82efa5497 /contrib/tcsh/gethost.c
parent240d7c6f403b210d3609f1593f55dd73266bc844 (diff)
parentbbd1addf8f9452690ad13ce5b875ee4cc9633958 (diff)
downloadFreeBSD-src-fc6d10ab3edf803f748e673fdd1f64a3d9640ca2.zip
FreeBSD-src-fc6d10ab3edf803f748e673fdd1f64a3d9640ca2.tar.gz
This commit was generated by cvs2svn to compensate for changes in r131962,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcsh/gethost.c')
-rw-r--r--contrib/tcsh/gethost.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcsh/gethost.c b/contrib/tcsh/gethost.c
index b57df16..012a9fe 100644
--- a/contrib/tcsh/gethost.c
+++ b/contrib/tcsh/gethost.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/gethost.c,v 1.8 2002/03/08 17:36:46 christos Exp $ */
+/* $Header: /src/pub/tcsh/gethost.c,v 1.9 2002/12/04 12:30:55 christos Exp $ */
/*
* gethost.c: Create version file from prototype
*/
@@ -32,7 +32,7 @@
*/
#include "sh.h"
-RCSID("$Id: gethost.c,v 1.8 2002/03/08 17:36:46 christos Exp $")
+RCSID("$Id: gethost.c,v 1.9 2002/12/04 12:30:55 christos Exp $")
#ifdef SCO
# define perror __perror
@@ -159,7 +159,7 @@ main(argc, argv)
{
char line[INBUFSIZE];
char *pname;
- char *fname = "stdin";
+ const char *fname = "stdin";
char *ptr, *tok;
char defs[INBUFSIZE];
char stmt[INBUFSIZE];
OpenPOWER on IntegriCloud