summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/__socketcall.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/__socketcall.c')
-rw-r--r--libc/sysdeps/linux/common/__socketcall.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/__socketcall.c b/libc/sysdeps/linux/common/__socketcall.c
index 48a083c3a..e3807cf06 100644
--- a/libc/sysdeps/linux/common/__socketcall.c
+++ b/libc/sysdeps/linux/common/__socketcall.c
@@ -2,13 +2,14 @@
/*
* __socketcall() for uClibc
*
- * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
- * GNU Library General Public License (LGPL) version 2 or later.
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include "syscalls.h"
#ifdef __NR_socketcall
#define __NR___socketcall __NR_socketcall
-attribute_hidden _syscall2(int, __socketcall, int, call, unsigned long *, args);
+int __socketcall(int __call, unsigned long *__args) attribute_hidden;
+_syscall2(int, __socketcall, int, call, unsigned long *, args);
#endif