break out user part of time.h
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 14 Mar 1985 08:28:34 +0000 (00:28 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 14 Mar 1985 08:28:34 +0000 (00:28 -0800)
SCCS-vsn: sys/sys/time.h 6.2

usr/src/sys/sys/time.h

index 8087d4b..9fc4705 100644 (file)
@@ -1,4 +1,4 @@
-/*     time.h  6.1     83/07/29        */
+/*     time.h  6.2     85/03/13        */
 
 /*
  * Structure returned by gettimeofday(2) system call,
 
 /*
  * Structure returned by gettimeofday(2) system call,
@@ -44,22 +44,6 @@ struct       itimerval {
        struct  timeval it_value;       /* current value */
 };
 
        struct  timeval it_value;       /* current value */
 };
 
-/*
- * Structure returned by gmtime and localtime calls (see ctime(3)).
- */
-struct tm {
-       int     tm_sec;
-       int     tm_min;
-       int     tm_hour;
-       int     tm_mday;
-       int     tm_mon;
-       int     tm_year;
-       int     tm_wday;
-       int     tm_yday;
-       int     tm_isdst;
-};
-
 #ifndef KERNEL
 #ifndef KERNEL
-extern struct tm *gmtime(), *localtime();
-extern char *asctime(), *ctime();
+#include <time.h>
 #endif
 #endif