]> git.saurik.com Git - apple/libc.git/blobdiff - include/utmp.h
Libc-1272.200.26.tar.gz
[apple/libc.git] / include / utmp.h
index 46a8f6a0fa2a91f892128dcfdd71142fd3c18aff..01eb531702d707b36ff60c39a91abcb42f8df54f 100644 (file)
  */
 
 #include <_types.h>
  */
 
 #include <_types.h>
-#include <Availability.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"
 
 /* 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];
        time_t  ll_time;
        char    ll_line[UT_LINESIZE];
        char    ll_host[UT_HOSTSIZE];
-}                                      __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA);
+}                                      __deprecated;
 
 struct utmp {
        char    ut_line[UT_LINESIZE];
        char    ut_name[UT_NAMESIZE];
        char    ut_host[UT_HOSTSIZE];
        long    ut_time;
 
 struct utmp {
        char    ut_line[UT_LINESIZE];
        char    ut_name[UT_NAMESIZE];
        char    ut_host[UT_HOSTSIZE];
        long    ut_time;
-}                                      __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0,__MAC_10_5,__IPHONE_NA,__IPHONE_NA);
+}                                      __deprecated;
 
 #endif /* !_UTMP_H_ */
 
 #endif /* !_UTMP_H_ */