aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-08 07:02:19 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-08 07:02:19 +0000
commita207bef32fdf9807e79f3f9a3a39842dd43a6d23 (patch)
treef1517209b81a427aab7bea4fb49b9a33b8aa8db8
parent0312b508ac574e280d8f04514e8d4e70e9da5b46 (diff)
downloadglibc-a207bef32fdf9807e79f3f9a3a39842dd43a6d23.tar
glibc-a207bef32fdf9807e79f3f9a3a39842dd43a6d23.tar.gz
glibc-a207bef32fdf9807e79f3f9a3a39842dd43a6d23.tar.bz2
glibc-a207bef32fdf9807e79f3f9a3a39842dd43a6d23.zip
Fix various types.
-rw-r--r--sysdeps/unix/sysv/aix/recvfrom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/aix/recvfrom.c b/sysdeps/unix/sysv/aix/recvfrom.c
index 723a2c893a..08264288d1 100644
--- a/sysdeps/unix/sysv/aix/recvfrom.c
+++ b/sysdeps/unix/sysv/aix/recvfrom.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -18,10 +18,10 @@
#include <sys/socket.h>
-extern int nrecvfrom (int s, void *uap_buf, int len, int flags,
- void *uap_from, int *uap_fromlenaddr);
+extern ssize_t nrecvfrom (int s, void *uap_buf, size_t len, int flags,
+ void *uap_from, socklen_t *uap_fromlenaddr);
-int
+ssize_t
recvfrom (int fd, void *buf, size_t n, int flags, __SOCKADDR_ARG addr,
socklen_t *addr_len)
{