lint
authorEdward Wang <edward@ucbvax.Berkeley.EDU>
Fri, 26 Apr 1985 11:59:03 +0000 (03:59 -0800)
committerEdward Wang <edward@ucbvax.Berkeley.EDU>
Fri, 26 Apr 1985 11:59:03 +0000 (03:59 -0800)
SCCS-vsn: games/sail/dr_1.c 2.13
SCCS-vsn: games/sail/dr_main.c 2.3
SCCS-vsn: games/sail/pl_main.c 2.3

usr/src/games/sail/dr_1.c
usr/src/games/sail/dr_main.c
usr/src/games/sail/pl_main.c

index f70625d..89fde55 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char *sccsid = "@(#)dr_1.c      2.12 85/04/23";
+static char *sccsid = "@(#)dr_1.c      2.13 85/04/25";
 #endif
 
 #include "driver.h"
 #endif
 
 #include "driver.h"
@@ -382,7 +382,7 @@ next()
                                p = "Driver";
                        if (islower(*p))
                                *p = toupper(*p);
                                p = "Driver";
                        if (islower(*p))
                                *p = toupper(*p);
-                       strncpy(bestship->file->captain, p,
+                       (void) strncpy(bestship->file->captain, p,
                                sizeof bestship->file->captain);
                        bestship->file->captain
                                [sizeof bestship->file->captain - 1] = 0;
                                sizeof bestship->file->captain);
                        bestship->file->captain
                                [sizeof bestship->file->captain - 1] = 0;
index 374175e..9699cb2 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char *sccsid = "@(#)dr_main.c   2.2 85/04/23";
+static char *sccsid = "@(#)dr_main.c   2.3 85/04/25";
 #endif
 
 #include "driver.h"
 #endif
 
 #include "driver.h"
index ec69324..6e52c74 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char *sccsid = "@(#)pl_main.c   2.2 85/04/23";
+static char *sccsid = "@(#)pl_main.c   2.3 85/04/25";
 #endif
 
 #include "player.h"
 #endif
 
 #include "player.h"