]> git.pond.sub.org Git - empserver/blobdiff - src/lib/player/login.c
Update copyright notice.
[empserver] / src / lib / player / login.c
index 89783d685a6634be31ad70a0fe0803907fb4127c..2f10f31910d6d214552e19995a68afbf1ff0bb41 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -32,9 +32,7 @@
  *     Steve McClure, 2000
  */
 
-#ifdef Rel4
 #include <string.h>
-#endif /* Rel4 */
 #include "prototypes.h"
 #include "misc.h"
 #include "proto.h"
@@ -58,7 +56,7 @@
 #endif
 #include <errno.h>
 
-struct cmndstr login_coms[];
+extern struct cmndstr login_coms[];
 
 
 /*ARGSUSED*/
@@ -102,7 +100,7 @@ player_login(void *ud)
     }
     player->state = PS_SHUTDOWN;
     if (!io_eof(player->iop)) {
-       (void)pr_player(player, C_EXIT, "so long...\n");
+       pr_player(player, C_EXIT, "so long...\n");
        io_noblocking(player->iop, 0);
        while (io_output(player->iop, IO_WAIT) > 0) ;
     }
@@ -211,7 +209,6 @@ pass_cmd(void)
 static int
 play_cmd(void)
 {
-    extern char *banfil;
     struct player *other;
     natid cnum;
     struct natstr *natp;