* cleanup.c (pty_cleanup): Delcare local variable only if
authorEzra Peisach <epeisach@mit.edu>
Thu, 3 May 2001 18:41:20 +0000 (18:41 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 3 May 2001 18:41:20 +0000 (18:41 +0000)
commit0e8e5b4c5a41dd22e6fffcf07665769044a8eae7
tree7724eba7e37d65577b3d764a4b26dbc5e305d6f2
parent2835c287829d9f3fa5078ac6caaa7d811ac64e60
* cleanup.c (pty_cleanup): Delcare local variable only if
VHANG_LAST defined.

* logwtmp.c (pty_logwtmp): Only declare local variables if
logwtmp() not available on system.

* sane_hostname.c (sockaddrlen): Only define static function if
HAVE_GETNAMEINFO defined. (pty_make_sane_hostname) Declare goto
target only if code compiled in.

gcc warning cleanups

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13227 dc483132-0cff-0310-8789-dd5450dbe970
src/util/pty/ChangeLog
src/util/pty/cleanup.c
src/util/pty/logwtmp.c
src/util/pty/sane_hostname.c