libwp: Tidy header includes
[openafs.git] / src / lwp / fasttime.c
index 8878378..0230184 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2000, International Business Machines Corporation and others.
  * All Rights Reserved.
- * 
+ *
  * This software has been released under the terms of the IBM Public
  * License.  For details, see the LICENSE file in the top-level source
  * directory or online at http://www.openafs.org/dl/license10.html
 #include <afsconfig.h>
 #include <afs/param.h>
 
-RCSID
-    ("$Header$");
+#include <roken.h>
 
-#include <stdio.h>
-#include <sys/types.h>
-#ifdef AFS_NT40_ENV
-#include <sys/timeb.h>
-#include <winsock2.h>
-#else
-#include <sys/time.h>
-#include <sys/file.h>
-#endif
 #include <afs/afsutil.h>
 
 int ft_debug;
@@ -82,7 +72,7 @@ FT_Init(int printErrors, int notReally)
 int
 FT_GetTimeOfDay(struct timeval *tv, struct timezone *tz)
 {
-    register int ret;
+    int ret;
     ret = gettimeofday(tv, tz);
     if (!ret) {
        /* need to bounds check 'cause Unix can fail these checks, (esp on Suns)