Преглед на файлове

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

Rich Felker преди 14 години
родител
ревизия
0729fd9fd9
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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];