Parcourir la source

utmpx.h is no longer under standards, so expose ut_exit structure

Rich Felker il y a 14 ans
Parent
commit
0729fd9fd9
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      include/utmpx.h

+ 3 - 3
include/utmpx.h

@@ -22,9 +22,9 @@ struct utmpx
 	char ut_user[32];
 	char ut_host[256];
 	struct {
-		short __e_termination;
-		short __e_exit;
-	} __ut_exit;
+		short e_termination;
+		short e_exit;
+	} ut_exit;
 	long ut_session;
 	struct timeval ut_tv;
 	unsigned ut_addr_v6[4];