summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_accept.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-16 16:40:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-16 16:40:02 +0000
commitd80dcac7381da3a2efb026ae223acdaa625245b6 (patch)
tree844f81839683d7e267cffc23f1bdeec726bbe728 /lib/libc_r/uthread/uthread_accept.c
parentb58a1a6c18a32db53f7e727c2a90c68c552b56b6 (diff)
deal with socklen_t
Diffstat (limited to 'lib/libc_r/uthread/uthread_accept.c')
-rw-r--r--lib/libc_r/uthread/uthread_accept.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_accept.c b/lib/libc_r/uthread/uthread_accept.c
index 5a6bd90fe9f..95f8c10b56c 100644
--- a/lib/libc_r/uthread/uthread_accept.c
+++ b/lib/libc_r/uthread/uthread_accept.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: uthread_accept.c,v 1.2 1999/01/06 05:29:21 d Exp $
+ * $OpenBSD: uthread_accept.c,v 1.3 1999/02/16 16:39:59 deraadt Exp $
*/
#include <errno.h>
#include <unistd.h>
@@ -41,7 +41,7 @@
#include "pthread_private.h"
int
-accept(int fd, struct sockaddr * name, int *namelen)
+accept(int fd, struct sockaddr * name, socklen_t *namelen)
{
int ret;