summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-08-16 19:43:54 +0000
committerUlrich Drepper <drepper@redhat.com>1997-08-16 19:43:54 +0000
commit7f4fa63a5e0fddbd9f24188ac09fa05d57a57b08 (patch)
tree5dc1f991af327e7db63935aa5d25ebbf921c3eec
parent983dbceaf8f55e195313b7b489c7cb9e7a5fb0a8 (diff)
downloadglibc-7f4fa63a5e0fddbd9f24188ac09fa05d57a57b08.tar.gz
glibc-7f4fa63a5e0fddbd9f24188ac09fa05d57a57b08.tar.xz
glibc-7f4fa63a5e0fddbd9f24188ac09fa05d57a57b08.zip
Reformat and correct typos.
-rw-r--r--login/utmp.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/login/utmp.h b/login/utmp.h
index fa35cd4f4f..0928234e0c 100644
--- a/login/utmp.h
+++ b/login/utmp.h
@@ -16,14 +16,14 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#ifndef	_UTMP_H
+#define	_UTMP_H	1
 
-#ifndef	_UTMP_H_
-
-#define	_UTMP_H_	1
 #include <features.h>
 
 #include <sys/types.h>
 
+
 __BEGIN_DECLS
 
 /* Get system dependent values and data structures.  */
@@ -48,21 +48,22 @@ extern void login __P ((__const struct utmp *__entry));
 /* Write the utmp entry to say the user on UT_LINE has logged out.  */
 extern int logout __P ((__const char *__ut_line));
 
-/* Append the given entry to a wtmp file.  */
-extern void updwtmp __P ((__const char *__wtmp_file,
-			  __const struct utmp *__entry));
-
 /* Append to wtmp an entry for the current time and the given info.  */
 extern void logwtmp __P ((__const char *__ut_line, __const char *__ut_name,
 			  __const char *__ut_host));
 
+/* Append entry UTMP to the wtmp-like file WTMP_FILE.  */
+extern void updwtmp __P ((__const char *__wtmp_file,
+			  __const struct utmp *__utmp));
+
 /* Change name of the utmp file to be examined.  */
+extern int __utmpname __P ((__const char *__file));
 extern int utmpname __P ((__const char *__file));
 
 /* Read next entry from a utmp-like file.  */
 extern struct utmp *getutent __P ((void));
 
-/* Rest the input stream to the beginning of the file.  */
+/* Reset the input stream to the beginning of the file.  */
 extern void __setutent __P ((void));
 extern void setutent __P ((void));