]> git.saurik.com Git - apple/libc.git/blobdiff - include/utmp.h
Libc-1272.200.26.tar.gz
[apple/libc.git] / include / utmp.h
index f53763c454d08f01ea3e834c70a0434b21114c2f..01eb531702d707b36ff60c39a91abcb42f8df54f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2005, 2007 Apple Inc. All rights reserved.
+ * Copyright (c) 2000, 2005, 2007, 2008 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  */
 
 #include <_types.h>
-#include <available.h>
-
-#ifndef _TIME_T
-#define _TIME_T
-typedef __darwin_time_t        time_t;
-#endif
+#include <sys/_types/_time_t.h>
 
 /* These files no longer exist in 10.5 and later */
 #define        _PATH_UTMP      "/var/run/utmp"
@@ -92,13 +87,13 @@ struct lastlog {
        time_t  ll_time;
        char    ll_line[UT_LINESIZE];
        char    ll_host[UT_HOSTSIZE];
-}                                      __DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
+}                                      __deprecated;
 
 struct utmp {
        char    ut_line[UT_LINESIZE];
        char    ut_name[UT_NAMESIZE];
        char    ut_host[UT_HOSTSIZE];
        long    ut_time;
-}                                      __DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER;
+}                                      __deprecated;
 
 #endif /* !_UTMP_H_ */