summaryrefslogtreecommitdiffstats
path: root/src/util/pty/libpty.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2000-12-06 11:46:04 +0000
committerKen Raeburn <raeburn@mit.edu>2000-12-06 11:46:04 +0000
commitbc8dc4e1c0ddaae0f83bdf16b8c0ae72160f15ab (patch)
treeac6b0ca882a298b16f2a877ae66d7a98f5cfc2ec /src/util/pty/libpty.h
parent80bbdfbc60404dd2edcd7c4512fd3bcd17073d00 (diff)
downloadkrb5-bc8dc4e1c0ddaae0f83bdf16b8c0ae72160f15ab.tar.gz
krb5-bc8dc4e1c0ddaae0f83bdf16b8c0ae72160f15ab.tar.xz
krb5-bc8dc4e1c0ddaae0f83bdf16b8c0ae72160f15ab.zip
Use const sockaddr pointer in interface.
Use get{name,addr}info if available, to pick up IPv6 support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12884 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/pty/libpty.h')
-rw-r--r--src/util/pty/libpty.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/pty/libpty.h b/src/util/pty/libpty.h
index 5e1200bf52..0274c98cdd 100644
--- a/src/util/pty/libpty.h
+++ b/src/util/pty/libpty.h
@@ -46,10 +46,10 @@ long pty_logwtmp (char *tty, char * user, char *host);
long pty_cleanup(char *slave, int pid, int update_utmp);
#ifndef SOCK_DGRAM
-struct sockaddr_in;
+struct sockaddr;
#endif
-long pty_make_sane_hostname(struct sockaddr *, int, int, int, char **);
+long pty_make_sane_hostname(const struct sockaddr *, int, int, int, char **);
#else /*__STDC__*/
long pty_init();
long pty_getpty();