Displaying 1 result from an estimated 1 matches for "libutil_login".
2000 Dec 27
2
implicit declaration warnings
...aration of function `login'
loginrec.c: In function `syslogin_perform_logout':
loginrec.c:1295: warning: implicit declaration of function `logout'
loginrec.c:1299: warning: implicit declaration of function `logwtmp'
---
In config.h, there are:
#define HAVE___B64_NTOP 1
#define HAVE_LIBUTIL_LOGIN 1
#define HAVE_INNETGR 1
Attached patch removes the warnings about login functions BUT will break
on systems that define LIBUTIL_LOGIN but don't have libutil.h (e.g.
Linux). So, it's not the way to go. But some sort of "nice" way of
handling the necessary includes should probab...