diff options
Diffstat (limited to 'news/knews/patches/patch-af')
-rw-r--r-- | news/knews/patches/patch-af | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/news/knews/patches/patch-af b/news/knews/patches/patch-af index 66a17b429c8..0aae44cb9d1 100644 --- a/news/knews/patches/patch-af +++ b/news/knews/patches/patch-af @@ -1,7 +1,7 @@ -$NetBSD: patch-af,v 1.3 2001/02/23 22:19:42 tron Exp $ +$NetBSD: patch-af,v 1.4 2001/02/24 22:40:40 tron Exp $ --- src/sysdeps.h.orig Fri Jan 9 18:16:24 1998 -+++ src/sysdeps.h Fri Feb 23 22:08:23 2001 ++++ src/sysdeps.h Sat Feb 24 23:30:34 2001 @@ -2,7 +2,11 @@ * Copyright (C) 1995, 1996 Karl-Johan Johnsson. */ @@ -14,12 +14,14 @@ $NetBSD: patch-af,v 1.3 2001/02/23 22:19:42 tron Exp $ #define NNTP_PORT 119 #define FTP_PORT 21 -@@ -14,7 +18,7 @@ +@@ -14,7 +18,9 @@ extern void abort_callback(Widget, XtPointer, XtPointer); extern SERV_ADDR *get_host(char*, unsigned short, int); -extern int open_socket(void); -+extern int open_socket(int); ++extern SERV_ADDR *next_addr(SERV_ADDR *); ++extern void free_addr(SERV_ADDR *); ++extern int open_socket(SERV_ADDR *); extern int connect_socket(int, SERV_ADDR*); extern int open_duplex(int*); extern int bind_and_listen(int); |