]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/rea.c
Update copyright notice
[empserver] / src / lib / commands / rea.c
index be4ddc6e671ad68d5963438ce18f951f49058684..934b0dfba258e6012ad9daeb2de9d2be05166e7e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include <config.h>
 
-#include "misc.h"
-#include "player.h"
-#include "nat.h"
-#include "file.h"
-#include "tel.h"
+#include <ctype.h>
+#include <stdio.h>
 #include "commands.h"
-#include "optlist.h"
 #include "match.h"
-
-#include <stdio.h>
-#include <fcntl.h>
-#if !defined(_WIN32)
-#include <sys/file.h>
-#endif
+#include "misc.h"
+#include "optlist.h"
+#include "tel.h"
 
 int
 rea(void)
@@ -64,7 +57,7 @@ rea(void)
     FILE *telfp;
     int teles;
     int size;
-    unsigned int nbytes;
+    unsigned nbytes;
     char buf[1024];
     char msgbuf[4096];         /* UTF-8 */
     int lasttype;