about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/recvmsg.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-08 07:17:00 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-08 07:17:00 +0000
commit73c342ebcc172bd4a034d62a28e7bb6cd4e12e03 (patch)
tree68aca743bc72f823967ae29eb68567c80bf5adfa /sysdeps/unix/sysv/aix/recvmsg.c
parenta2a89dd6ced7d42b95550f9f02c52d60c7626715 (diff)
downloadglibc-73c342ebcc172bd4a034d62a28e7bb6cd4e12e03.tar.gz
glibc-73c342ebcc172bd4a034d62a28e7bb6cd4e12e03.tar.xz
glibc-73c342ebcc172bd4a034d62a28e7bb6cd4e12e03.zip
Update.
2001-07-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
	* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.

	* sysdeps/unix/sysv/aix/recv.c: New file.

	* sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.

	* sysdeps/generic/recv.c: Fix return type.

	* sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.

	* sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
	declarations for asm functions.
Diffstat (limited to 'sysdeps/unix/sysv/aix/recvmsg.c')
-rw-r--r--sysdeps/unix/sysv/aix/recvmsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/aix/recvmsg.c b/sysdeps/unix/sysv/aix/recvmsg.c
index 0b695b34da..ea5af3557c 100644
--- a/sysdeps/unix/sysv/aix/recvmsg.c
+++ b/sysdeps/unix/sysv/aix/recvmsg.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,9 +18,9 @@
 
 #include <sys/socket.h>
 
-extern int nrecvmsg (int s, struct msghdr *uap_msg, int flags);
+extern ssize_t nrecvmsg (int s, struct msghdr *uap_msg, int flags);
 
-int
+ssize_t
 recvmsg (int fd, struct msghdr *message, int flags)
 {
   return nrecvmsg (fd, message, flags);