projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Check if dietlibc declares syscall incompatibly, to avoid errors.
[util-vserver.git]
/
lib
/
vserver-internal.h
diff --git
a/lib/vserver-internal.h
b/lib/vserver-internal.h
index
c8bf60f
..
6478e5d
100644
(file)
--- a/
lib/vserver-internal.h
+++ b/
lib/vserver-internal.h
@@
-253,10
+253,6
@@
inline static ALWAYSINLINE void vc_noop0() {}
inline static UNUSED ALWAYSINLINE
int vserver(uint32_t cmd, uint32_t id, void *data)
{
-#if defined __dietlibc__
- extern long int syscall (long int __sysno, ...);
-#endif
-
return syscall(__NR_vserver, cmd, id, data);
}
#else