File:
[DVB] /
dietlibc /
x86_64 /
send.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_send(int fd, const void * buf, size_t n, int flags);
/* shut up gcc warning about missing prototype */
int __libc_send(int fd, const void * buf, size_t n, int flags) {
return sendto(fd, buf, n, flags, NULL, 0);
}
int send(int a, const void * b, size_t c, int flags)
__attribute__ ((weak, alias("__libc_send")));
LinuxTV legacy CVS <linuxtv.org/cvs>