summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-04-25 21:37:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-04-25 21:37:48 +0000
commit028fc28eab0d3cdaea5f86e14279481d0b1f8b98 (patch)
tree49ae2869e50ef989e05e51d485ae8d60318b678e
parent474f69d6bb11b8f0bf0b031b0983889752f4381b (diff)
comment repair
-rw-r--r--games/phantasia/convert.c4
-rw-r--r--games/phantasia/fight.c4
-rw-r--r--games/phantasia/gamesupport.c6
-rw-r--r--games/phantasia/main.c10
-rw-r--r--games/phantasia/misc.c8
-rw-r--r--games/phantasia/setup.c4
6 files changed, 18 insertions, 18 deletions
diff --git a/games/phantasia/convert.c b/games/phantasia/convert.c
index 53b247c3a5e..a7e9cdc3c1a 100644
--- a/games/phantasia/convert.c
+++ b/games/phantasia/convert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: convert.c,v 1.5 2003/04/06 18:50:38 deraadt Exp $ */
+/* $OpenBSD: convert.c,v 1.6 2003/04/25 21:37:47 deraadt Exp $ */
/* $NetBSD: convert.c,v 1.2 1995/03/24 03:58:34 cgd Exp $ */
/*
@@ -28,7 +28,7 @@ char Newpfile[] = DEST/newcharacs"; /* new format file */
/ RETURN VALUE: none
/
/ MODULES CALLED: time(), exit(), fread(), fopen(), srandomdev(), floor(),
-/ random(), strcmp(), fwrite(), strcpy(), fclose(), fprintf()
+/ random(), strcmp(), fwrite(), strlcpy(), fclose(), fprintf()
/
/ GLOBAL INPUTS: _iob[], Oldplayer, Newplayer
/
diff --git a/games/phantasia/fight.c b/games/phantasia/fight.c
index d8ad552bd25..f5a0e9cceac 100644
--- a/games/phantasia/fight.c
+++ b/games/phantasia/fight.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fight.c,v 1.8 2003/04/06 18:50:38 deraadt Exp $ */
+/* $OpenBSD: fight.c,v 1.9 2003/04/25 21:37:47 deraadt Exp $ */
/* $NetBSD: fight.c,v 1.2 1995/03/24 03:58:39 cgd Exp $ */
/*
@@ -1017,7 +1017,7 @@ throwspell()
/ RETURN VALUE: none
/
/ MODULES CALLED: truncstring(), fread(), fseek(), floor(), drandom(),
-/ strcpy()
+/ strlcpy()
/
/ GLOBAL INPUTS: Curmonster, Circle, Player, *Monstfp
/
diff --git a/games/phantasia/gamesupport.c b/games/phantasia/gamesupport.c
index 0ab75d617ed..bbabfc2068a 100644
--- a/games/phantasia/gamesupport.c
+++ b/games/phantasia/gamesupport.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gamesupport.c,v 1.5 2003/04/06 18:50:38 deraadt Exp $ */
+/* $OpenBSD: gamesupport.c,v 1.6 2003/04/25 21:37:47 deraadt Exp $ */
/* $NetBSD: gamesupport.c,v 1.3 1995/04/24 12:24:28 cgd Exp $ */
/*
@@ -21,7 +21,7 @@
/ RETURN VALUE: none
/
/ MODULES CALLED: freerecord(), writerecord(), descrstatus(), truncstring(),
-/ time(), more(), wmove(), wclear(), strcmp(), printw(), strcpy(),
+/ time(), more(), wmove(), wclear(), strcmp(), printw(), strlcpy(),
/ infloat(), waddstr(), cleanup(), findname(), userlist(), mvprintw(),
/ localtime(), getanswer(), descrtype(), getstring()
/
@@ -662,7 +662,7 @@ purgeoldplayers()
/ RETURN VALUE: none
/
/ MODULES CALLED: fread(), fseek(), fopen(), error(), strcmp(), fclose(),
-/ strcpy(), fwrite(), descrtype()
+/ strlcpy(), fwrite(), descrtype()
/
/ GLOBAL INPUTS: Player
/
diff --git a/games/phantasia/main.c b/games/phantasia/main.c
index 03b87df4a10..52f9d23e46c 100644
--- a/games/phantasia/main.c
+++ b/games/phantasia/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.12 2003/04/06 18:50:38 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.13 2003/04/25 21:37:47 deraadt Exp $ */
/* $NetBSD: main.c,v 1.3 1995/04/24 12:24:37 cgd Exp $ */
/*
@@ -77,8 +77,8 @@
/ throneroom(), checkbattle(), readmessage(), changestats(), writerecord(),
/ tradingpost(), adjuststats(), recallplayer(), displaystats(), checktampered(),
/ fabs(), rollnewplayer(), time(), exit(), sqrt(), floor(), wmove(),
-/ signal(), strcat(), purgeoldplayers(), getuid(), isatty(), wclear(),
-/ strcpy(), system(), altercoordinates(), cleanup(), waddstr(), procmain(),
+/ signal(), strlcat(), purgeoldplayers(), getuid(), isatty(), wclear(),
+/ strlcpy(), system(), altercoordinates(), cleanup(), waddstr(), procmain(),
/ playinit(), leavegame(), localtime(), getanswer(), neatstuff(), initialstate(),
/ scorelist(), titlelist()
/
@@ -752,8 +752,8 @@ procmain()
/
/ RETURN VALUE: none
/
-/ MODULES CALLED: fread(), fseek(), fopen(), fgets(), wmove(), strcpy(),
-/ fclose(), strlen(), waddstr(), sprintf(), wrefresh()
+/ MODULES CALLED: fread(), fseek(), fopen(), fgets(), wmove(), strlcpy(),
+/ fclose(), strlen(), waddstr(), snprintf(), wrefresh()
/
/ GLOBAL INPUTS: Lines, Other, *stdscr, Databuf[], *Playersfp
/
diff --git a/games/phantasia/misc.c b/games/phantasia/misc.c
index 7f895d00db8..f578438e5d2 100644
--- a/games/phantasia/misc.c
+++ b/games/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.11 2003/04/06 18:50:38 deraadt Exp $ */
+/* $OpenBSD: misc.c,v 1.12 2003/04/25 21:37:47 deraadt Exp $ */
/* $NetBSD: misc.c,v 1.2 1995/03/24 03:59:03 cgd Exp $ */
/*
@@ -103,7 +103,7 @@ movelevel()
/
/ RETURN VALUE: pointer to string containing result
/
-/ MODULES CALLED: fabs(), floor(), sprintf(), distance()
+/ MODULES CALLED: fabs(), floor(), snprintf(), distance()
/
/ GLOBAL INPUTS: Databuf[]
/
@@ -567,7 +567,7 @@ allstatslist()
/
/ RETURN VALUE: pointer to string describing player type
/
-/ MODULES CALLED: strcpy()
+/ MODULES CALLED: strlcpy()
/
/ GLOBAL INPUTS: Databuf[]
/
@@ -828,7 +828,7 @@ leavegame()
/
/ MODULES CALLED: freerecord(), enterscore(), more(), exit(), fread(),
/ fseek(), execl(), fopen(), floor(), wmove(), drandom(), wclear(), strcmp(),
-/ fwrite(), fflush(), printw(), strcpy(), fclose(), waddstr(), cleanup(),
+/ fwrite(), fflush(), printw(), strlcpy(), fclose(), waddstr(), cleanup(),
/ fprintf(), wrefresh(), getanswer(), descrtype()
/
/ GLOBAL INPUTS: Curmonster, Wizard, Player, *stdscr, Fileloc, *Monstfp
diff --git a/games/phantasia/setup.c b/games/phantasia/setup.c
index 2434e609122..e5dbdff8218 100644
--- a/games/phantasia/setup.c
+++ b/games/phantasia/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.8 2003/04/06 18:50:38 deraadt Exp $ */
+/* $OpenBSD: setup.c,v 1.9 2003/04/25 21:37:47 deraadt Exp $ */
/* $NetBSD: setup.c,v 1.4 1995/04/24 12:24:41 cgd Exp $ */
/*
@@ -26,7 +26,7 @@ void Error(char *, char *);
/ RETURN VALUE: none
/
/ MODULES CALLED: time(), exit(), stat(), Error(), open(), close(), fopen(),
-/ fgets(), floor(), srandomdev(), umask(), strcpy(),
+/ fgets(), floor(), srandomdev(), umask(), strlcpy(),
/ unlink(), fwrite(), fclose(), sscanf(), printf(), strlen(), fprintf()
/
/ GLOBAL INPUTS: Curmonster, _iob[], Databuf[], *Monstfp, Enrgyvoid