diff options
author | jsm <jsm@NetBSD.org> | 1999-09-13 17:18:56 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 1999-09-13 17:18:56 +0000 |
commit | 6a1460f5926ec8aaa136e3e8c39399db281f0dfb (patch) | |
tree | c4d0539a53925d4e7333ce128e158d22574927c8 /battlestar | |
parent | cfadcf734bf3b4a80ca74925211aed5e9c9563f7 (diff) | |
download | bsdgames-darwin-6a1460f5926ec8aaa136e3e8c39399db281f0dfb.tar.gz bsdgames-darwin-6a1460f5926ec8aaa136e3e8c39399db281f0dfb.tar.zst bsdgames-darwin-6a1460f5926ec8aaa136e3e8c39399db281f0dfb.zip |
Fix uses of names of library functions for other purposes.
Diffstat (limited to 'battlestar')
-rw-r--r-- | battlestar/com6.c | 6 | ||||
-rw-r--r-- | battlestar/extern.h | 4 | ||||
-rw-r--r-- | battlestar/init.c | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/battlestar/com6.c b/battlestar/com6.c index 63b871b3..95f18d71 100644 --- a/battlestar/com6.c +++ b/battlestar/com6.c @@ -1,4 +1,4 @@ -/* $NetBSD: com6.c,v 1.13 1999/09/13 17:15:42 jsm Exp $ */ +/* $NetBSD: com6.c,v 1.14 1999/09/13 17:18:56 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)com6.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: com6.c,v 1.13 1999/09/13 17:15:42 jsm Exp $"); +__RCSID("$NetBSD: com6.c,v 1.14 1999/09/13 17:18:56 jsm Exp $"); #endif #endif /* not lint */ @@ -134,7 +134,7 @@ post(ch) date = ctime(&tvsec); date[24] = '\0'; if (score_fp != NULL) { - fprintf(score_fp, "%s %8s %c%20s", date, uname, ch, rate()); + fprintf(score_fp, "%s %8s %c%20s", date, username, ch, rate()); if (wiz) fprintf(score_fp, " wizard\n"); else diff --git a/battlestar/extern.h b/battlestar/extern.h index a7f02261..f431dd46 100644 --- a/battlestar/extern.h +++ b/battlestar/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.12 1999/07/28 01:45:42 hubertf Exp $ */ +/* $NetBSD: extern.h,v 1.13 1999/09/13 17:18:57 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -283,7 +283,7 @@ unsigned int wear[NUMOFWORDS]; char beenthere[NUMOFROOMS + 1]; char injuries[NUMOFINJURIES]; -char uname[9]; +char username[9]; struct wlist { const char *string; diff --git a/battlestar/init.c b/battlestar/init.c index 94d87309..003e0cc8 100644 --- a/battlestar/init.c +++ b/battlestar/init.c @@ -1,4 +1,4 @@ -/* $NetBSD: init.c,v 1.9 1999/07/28 01:45:43 hubertf Exp $ */ +/* $NetBSD: init.c,v 1.10 1999/09/13 17:18:57 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)init.c 8.4 (Berkeley) 4/30/95"; #else -__RCSID("$NetBSD: init.c,v 1.9 1999/07/28 01:45:43 hubertf Exp $"); +__RCSID("$NetBSD: init.c,v 1.10 1999/09/13 17:18:57 jsm Exp $"); #endif #endif /* not lint */ @@ -56,7 +56,7 @@ initialize(filename) puts("Admiral D.W. Riggle\n"); location = dayfile; srand(getpid()); - getutmp(uname); + getutmp(username); wordinit(); if (filename == NULL) { direction = NORTH; @@ -73,7 +73,7 @@ initialize(filename) restore(savefile); free(savefile); } - wiz = wizard(uname); + wiz = wizard(username); signal(SIGINT, diesig); } |