comparison 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
comparison
equal deleted inserted replaced
266:e37b160c414c 299:740e782679be
683 register int fd; 683 register int fd;
684 int tty; 684 int tty;
685 685
686 /* FIXME: (ATL) ttyslot() needs local implementation */ 686 /* FIXME: (ATL) ttyslot() needs local implementation */
687 687
688 #if 0
688 #if defined(HAVE_GETTTYENT) 689 #if defined(HAVE_GETTTYENT)
689 register struct ttyent *ty; 690 register struct ttyent *ty;
690 691
691 tty=0; 692 tty=0;
692 693
730 (void)close(fd); 731 (void)close(fd);
731 return 1; 732 return 1;
732 } else { 733 } else {
733 return 0; 734 return 0;
734 } 735 }
736 #endif
737 return 1;
735 } 738 }
736 # endif /* UTMP_USE_LIBRARY */ 739 # endif /* UTMP_USE_LIBRARY */
737 740
738 static int 741 static int
739 utmp_perform_login(struct logininfo *li) 742 utmp_perform_login(struct logininfo *li)