diff loginrec.c @ 299:740e782679be ucc-axis-hack

Various changes to compile+kind of run on UCC's axis board. Note that fprintf(stdin -> printf( accounts for many of the changes
author Matt Johnston <matt@ucc.asn.au>
date Sat, 25 Mar 2006 12:57:09 +0000
parents 6ba95762ec4e
children
line wrap: on
line diff
--- a/loginrec.c	Fri Dec 09 06:10:27 2005 +0000
+++ b/loginrec.c	Sat Mar 25 12:57:09 2006 +0000
@@ -685,6 +685,7 @@
 
 	/* FIXME: (ATL) ttyslot() needs local implementation */
 
+#if 0
 #if defined(HAVE_GETTTYENT)
 	register struct ttyent *ty;
 
@@ -732,6 +733,8 @@
 	} else {
 		return 0;
 	}
+#endif
+	return 1;
 }
 # endif /* UTMP_USE_LIBRARY */