X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/224c70764cab4e0e39a26aaf3ad3016552f62f55..70ad1dc8a19d6edd9b97aa81f32cfd65758ae97d:/include/utmp.h diff --git a/include/utmp.h b/include/utmp.h index f53763c..01eb531 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -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@ * @@ -72,12 +72,7 @@ */ #include <_types.h> -#include - -#ifndef _TIME_T -#define _TIME_T -typedef __darwin_time_t time_t; -#endif +#include /* 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_ */