about summary refs log tree commit diff
path: root/sysdeps/generic/recv.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/generic/recv.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/generic/recv.c')
-rw-r--r--sysdeps/generic/recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/recv.c b/sysdeps/generic/recv.c
index d2d9e19f2a..9c28b4b306 100644
--- a/sysdeps/generic/recv.c
+++ b/sysdeps/generic/recv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -21,7 +21,7 @@
 
 /* Read N bytes into BUF from socket FD.
    Returns the number read or -1 for errors.  */
-int
+ssize_t
 recv (fd, buf, n, flags)
      int fd;
      void *buf;