diff options
Diffstat (limited to 'contrib/tcsh/gethost.c')
-rw-r--r-- | contrib/tcsh/gethost.c | 6 |
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]; |