瀏覽代碼

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];