From 3950eb239574e967b81ae4c1d0913b40daaf801e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sun, 2 Jul 2000 16:59:39 +0200 Subject: [PATCH] Added missing prototype for debug_fd_stat(). Fixed prototype for debug_fd_accept(). Rev: src/fdlib.h:1.31 --- src/fdlib.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fdlib.h b/src/fdlib.h index a08574ce58..2f37eab651 100644 --- a/src/fdlib.h +++ b/src/fdlib.h @@ -1,5 +1,5 @@ /* - * $Id: fdlib.h,v 1.30 2000/06/27 15:11:53 grubba Exp $ + * $Id: fdlib.h,v 1.31 2000/07/02 14:59:39 grubba Exp $ */ #ifndef FDLIB_H #define FDLIB_H @@ -104,10 +104,11 @@ char *debug_fd_info(int fd); int debug_fd_query_properties(int fd, int guess); void fd_init(); void fd_exit(); +int debug_fd_stat(char *file, struct stat *buf); FD debug_fd_open(char *file, int open_mode, int create_mode); FD debug_fd_socket(int domain, int type, int proto); int debug_fd_pipe(int fds[2] DMALLOC_LINE_ARGS); -FD debug_fd_accept(FD fd, struct sockaddr *addr, int *addrlen); +FD debug_fd_accept(FD fd, struct sockaddr *addr, ACCEPT_SIZE_T *addrlen); SOCKFUN2(bind, struct sockaddr *, int) int debug_fd_connect (FD fd, struct sockaddr *a, int len); SOCKFUN4(getsockopt,int,int,void*,int*) -- GitLab