Fix the setutxent and endutxent compatibility defines (this time

correctly) when only setutent and endutent are available.
This commit is contained in:
Todd C. Miller
2012-04-23 20:04:26 -04:00
parent f6c7ae2519
commit 0fbd5e1bc2

View File

@@ -63,8 +63,8 @@
#if !defined(HAVE_GETUTXID) && defined(HAVE_GETUTID)
# define getutxline(u) getutline(u)
# define pututxline(u) pututline(u)
# define setutxent(u) setutent(u)
# define endutxent(u) endutent(u)
# define setutxent() setutent()
# define endutxent() endutent()
#endif /* !HAVE_GETUTXID && HAVE_GETUTID */
#ifdef HAVE_GETUTXID