File:
[DVB] /
dietlibc /
x86_64 /
recv.c
Revision
1.2:
download - view:
text,
annotated -
select for diffs
Mon Nov 18 01:16:51 2002 UTC (21 years, 6 months ago) by
fefe
Branches:
MAIN
CVS tags:
finnland_test_200301,
branch_rc14_fieldtest_finnland,
branch_rc13_fieldtest_finnland,
branch_rc12_fieldtest_finnland,
branch_rc10_fieldtest_finnland,
RELEASE_finnland_200301_1,
RC12_FIELDTEST_FINNLAND,
RC10_FIELDTEST_FINNLAND,
HEAD
remove a few more warnings
#include <sys/types.h>
#include <sys/socket.h>
#include <linuxnet.h>
int __libc_recv(int fd, void * buf, size_t n, int flags);
/* shut up gcc warning about missing prototype */
int __libc_recv(int fd, void * buf, size_t n, int flags) {
return recvfrom(fd, buf, n, flags, 0, 0);
}
int recv(int a, void * b, size_t c, int flags)
__attribute__ ((weak, alias("__libc_recv")));
LinuxTV legacy CVS <linuxtv.org/cvs>