diff options
author | hubertf <hubertf@NetBSD.org> | 1999-02-10 01:36:50 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1999-02-10 01:36:50 +0000 |
commit | 100d94357a66a55e6b4fdc8a07350d7b62a945d6 (patch) | |
tree | 5cc11420edf6395ec5d7520b9eee92aa629ce353 /battlestar/getcom.c | |
parent | 22a27dede77166c7bdf1de647d4d2b961fcd92c2 (diff) | |
download | bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.tar.gz bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.tar.zst bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.zip |
Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'battlestar/getcom.c')
-rw-r--r-- | battlestar/getcom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/battlestar/getcom.c b/battlestar/getcom.c index 841d376a..76e236fb 100644 --- a/battlestar/getcom.c +++ b/battlestar/getcom.c @@ -1,4 +1,4 @@ -/* $NetBSD: getcom.c,v 1.5 1997/10/11 02:07:21 lukem Exp $ */ +/* $NetBSD: getcom.c,v 1.6 1999/02/10 01:36:50 hubertf Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)getcom.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: getcom.c,v 1.5 1997/10/11 02:07:21 lukem Exp $"); +__RCSID("$NetBSD: getcom.c,v 1.6 1999/02/10 01:36:50 hubertf Exp $"); #endif #endif /* not lint */ @@ -48,7 +48,7 @@ char * getcom(buf, size, prompt, error) char *buf; int size; - char *prompt, *error; + const char *prompt, *error; { for (;;) { fputs(prompt, stdout); |