about summary refs log tree commit diff
path: root/sysdeps/gnu/bits
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/bits')
-rw-r--r--sysdeps/gnu/bits/utmp.h2
-rw-r--r--sysdeps/gnu/bits/utmpx.h10
2 files changed, 5 insertions, 7 deletions
diff --git a/sysdeps/gnu/bits/utmp.h b/sysdeps/gnu/bits/utmp.h
index 6a0beb61a9..9310e33ef9 100644
--- a/sysdeps/gnu/bits/utmp.h
+++ b/sysdeps/gnu/bits/utmp.h
@@ -63,7 +63,7 @@ struct utmp
     long ut_session;		/* Session ID, used for windowing.  */
     struct timeval ut_tv;	/* Time entry was made.  */
     int32_t ut_addr_v6[4];	/* Internet address of remote host.  */
-    char pad[20];		/* Reserved for future use.  */
+    char __unused[20];		/* Reserved for future use.  */
   };
 
 /* Backwards compatibility hacks.  */
diff --git a/sysdeps/gnu/bits/utmpx.h b/sysdeps/gnu/bits/utmpx.h
index b367bfba3c..b7613a1bee 100644
--- a/sysdeps/gnu/bits/utmpx.h
+++ b/sysdeps/gnu/bits/utmpx.h
@@ -40,8 +40,8 @@
    type is used in `struct utmpx' below.  */
 struct __exit_status
   {
-    short int e_termination;	/* Process termination status.  */
-    short int e_exit;		/* Process exit status.  */
+    short int __e_termination;	/* Process termination status.  */
+    short int __e_exit;		/* Process exit status.  */
   };
 
 
@@ -59,16 +59,14 @@ struct utmpx
   long int ut_session;		/* Session ID, used for windowing.  */
   struct timeval ut_tv;		/* Time entry was made.  */
   __int32_t ut_addr_v6[4];	/* Internet address of remote host.  */
-  char pad[20];			/* Reserved for future use.  */
+  char __unused[20];		/* Reserved for future use.  */
 };
 
 
 /* Values for the `ut_type' field of a `struct utmpx'.  */
 #define EMPTY		0	/* No valid user accounting information.  */
 
-#ifdef __USE_GNU
-# define RUN_LVL	1	/* The system's runlevel.  */
-#endif
+#define RUN_LVL		1	/* The system's runlevel.  */
 #define BOOT_TIME	2	/* Time of system boot.  */
 #define NEW_TIME	3	/* Time after system clock changed.  */
 #define OLD_TIME	4	/* Time when system clock changed.  */