]> git.saurik.com Git - apple/libc.git/blobdiff - include/utmpx.h
Libc-498.1.5.tar.gz
[apple/libc.git] / include / utmpx.h
index ee657d2dff138551bb69f357c8b712371b5f4525..d90255089e85e8bc804c5455eb5340dc37b61ff1 100644 (file)
@@ -149,9 +149,11 @@ struct lastlogx *
        getlastlogx(uid_t, struct lastlogx *);
 struct lastlogx *
        getlastlogxbyname(const char*, struct lastlogx *);
+#ifdef UNIFDEF_LEGACY_UTMP_APIS
 struct utmp;   /* forward reference */
 void   getutmp(const struct utmpx *, struct utmp *);
 void   getutmpx(const struct utmp *, struct utmpx *);
+#endif /* UNIFDEF_LEGACY_UTMP_APIS */
 #endif /* !_POSIX_C_SOURCE || _DARWIN_C_SOURCE */
 
 struct utmpx *