remove bogus custom read(), write() prototypes

This commit is contained in:
pvalchev 2002-02-28 06:03:27 +00:00
parent 4fdb296b9a
commit 6b0eb9dbb1
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Xwnmo_xwnmo_do_socket_c,v 1.1 2002/02/28 06:03:27 pvalchev Exp $
--- Xwnmo/xwnmo/do_socket.c.orig Tue Aug 23 02:11:30 1994
+++ Xwnmo/xwnmo/do_socket.c Wed Feb 27 22:48:53 2002
@@ -116,8 +116,6 @@ static int rc = 0;
#define sock_clr(array,pos) (array[pos/BINTSIZE] &= ~(1<<(pos%BINTSIZE)))
#define sock_tst(array,pos) (array[pos/BINTSIZE] & (1<<(pos%BINTSIZE)))
-extern int read(), write();
-
#define _Read(fd, data, size) read((fd), (data), (size))
#define _Write(fd, data, size) write((fd), (data), (size))

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Xwnmo_xwnmo_do_xjpdrct_c,v 1.1 2002/02/28 06:03:27 pvalchev Exp $
--- Xwnmo/xwnmo/do_xjpdrct.c.orig Sun Aug 21 23:04:23 1994
+++ Xwnmo/xwnmo/do_xjpdrct.c Wed Feb 27 22:49:12 2002
@@ -87,8 +87,6 @@ extern int cur_sock;
#define sock_clr(array,pos) (array[pos/BINTSIZE] &= ~(1<<(pos%BINTSIZE)))
#define sock_tst(array,pos) (array[pos/BINTSIZE] & (1<<(pos%BINTSIZE)))
-extern int read(), write();
-
extern XJpClientRec *xjp_clients;
extern XJpClientRec *xjp_cur_client;
extern XJpInputRec *xjp_inputs;