From 167217bec15c9c7aa70ba2a3dc9c689b3cd91872 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 14 May 2001 14:19:32 +0000 Subject: import new version of dietlibc --- mdk-stage1/dietlibc/lib/recvfrom.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mdk-stage1/dietlibc/lib/recvfrom.c') diff --git a/mdk-stage1/dietlibc/lib/recvfrom.c b/mdk-stage1/dietlibc/lib/recvfrom.c index a07afe7ad..802ad665f 100644 --- a/mdk-stage1/dietlibc/lib/recvfrom.c +++ b/mdk-stage1/dietlibc/lib/recvfrom.c @@ -2,7 +2,7 @@ extern int socketcall(int callno,long* args); -int recvfrom(int a, const void * b, size_t c, int flags, void *to, void *tolen) { +int __libc_recvfrom(int a, const void * b, size_t c, int flags, void *to, void *tolen) { #ifdef __i386__ return socketcall(SYS_RECVFROM, (long*)&a); #else @@ -10,3 +10,6 @@ int recvfrom(int a, const void * b, size_t c, int flags, void *to, void *tolen) return socketcall(SYS_RECVFROM, args); #endif } + +int recvfrom(int a, const void * b, size_t c, int flags, void *to, void *tolen) + __attribute__ ((weak,alias("__libc_recvfrom"))) ; -- cgit v1.2.1