diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-03-16 01:11:10 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-03-16 01:11:10 +0000 |
commit | 923dcd6706e06e5d73c82258a99ae176f75a6804 (patch) | |
tree | 86d50af5a120a945a4631b83c9834f38fb448d92 /usr.bin/talk | |
parent | 5158e01d42b380c30ab5e2d29d8b053c2e336cb2 (diff) |
errno is not specified to be int, but something from errno.h. ok millert@
Diffstat (limited to 'usr.bin/talk')
-rw-r--r-- | usr.bin/talk/get_addrs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/talk/get_addrs.c b/usr.bin/talk/get_addrs.c index 3d2abf409c8..4ed87786d12 100644 --- a/usr.bin/talk/get_addrs.c +++ b/usr.bin/talk/get_addrs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: get_addrs.c,v 1.6 2004/03/02 21:04:42 tedu Exp $ */ +/* $OpenBSD: get_addrs.c,v 1.7 2004/03/16 01:11:09 tedu Exp $ */ /* $NetBSD: get_addrs.c,v 1.3 1994/12/09 02:14:14 jtc Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)get_addrs.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: get_addrs.c,v 1.6 2004/03/02 21:04:42 tedu Exp $"; +static const char rcsid[] = "$OpenBSD: get_addrs.c,v 1.7 2004/03/16 01:11:09 tedu Exp $"; #endif /* not lint */ #include "talk.h" @@ -49,7 +49,6 @@ get_addrs(my_machine_name, his_machine_name) { struct hostent *hp; struct servent *sp; - extern int h_errno; msg.pid = htonl(getpid()); /* look up the address of the local host */ |