#endif
#include "pathnames.h"
-
-/* functions in login.c */
-void badlogin(const char *s);
-void sleepexit(int);
-extern struct hostent hostaddress;
-extern char *hostname;
+#include "login.h"
#ifdef TESTING
struct hostent hostaddress;
void
badlogin(const char *s)
{
- printf(_("badlogin: %s\n"), s);
+ printf("badlogin: %s\n", s);
}
void
sleepexit(int x)
{
- printf(_("sleepexit %d\n"), x);
+ printf("sleepexit %d\n", x);
exit(1);
}
#endif
}
/* start JDS - SBA */
-void
+static void
free_group(struct grplist *ge)
{
if (ge) {
}
}
-void
+static void
free_class(struct ttyclass *tc)
{
if (tc) {
}
}
-void
+static void
free_all(void)
{
free_class(ttyclasses);