OSDN Git Service

uClibc does not support getutent_r, getutid_r, and getutline_r,
authorEric Andersen <andersen@codepoet.org>
Thu, 7 Oct 2004 01:53:04 +0000 (01:53 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 7 Oct 2004 01:53:04 +0000 (01:53 -0000)
and SuSv3 does not require r specify them.  So kill the prototypes.

include/utmp.h

index 64b1088..ce251c1 100644 (file)
@@ -79,19 +79,6 @@ extern struct utmp *getutline (__const struct utmp *__line) __THROW;
 /* Write out entry pointed to by UTMP_PTR into the utmp file.  */
 extern struct utmp *pututline (__const struct utmp *__utmp_ptr) __THROW;
 
-
-#ifdef __USE_MISC
-/* Reentrant versions of the file for handling utmp files.  */
-extern int getutent_r (struct utmp *__buffer, struct utmp **__result) __THROW;
-
-extern int getutid_r (__const struct utmp *__id, struct utmp *__buffer,
-                     struct utmp **__result) __THROW;
-
-extern int getutline_r (__const struct utmp *__line,
-                       struct utmp *__buffer, struct utmp **__result) __THROW;
-
-#endif /* Use misc.  */
-
 __END_DECLS
 
 #endif /* utmp.h  */