path: root/src/linux/sethostname.c
diff options
authorRich Felker <>2011-02-15 14:39:02 -0500
committerRich Felker <>2011-02-15 14:39:02 -0500
commit9b235e8374bfe15f73d470b4ad7d1c579fd9a71e (patch)
tree5957c33f52d8d5145b8a65562c6a3e2338a34c35 /src/linux/sethostname.c
parent44460c6d1eb1233f6598229d787d179c095b053f (diff)
remove standalone syscall cruft
this was originally written for an early draft of the library where non-standard functions would reside in a static library separate from the shared, which would implement a pure standard. the idea was not to depend on an implementation-dependent __syscall_ret function in the main libc. but it turned out to be better to put everything in a single library for both static and dynamic linking uses, and thus the (incomplete) remnants of this feature were just enlarging the source and binary.
Diffstat (limited to 'src/linux/sethostname.c')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linux/sethostname.c b/src/linux/sethostname.c
index f61e0cb4..c94325e6 100644
--- a/src/linux/sethostname.c
+++ b/src/linux/sethostname.c
@@ -1,5 +1,4 @@
#include <unistd.h>
#include "syscall.h"
int sethostname(const char *name, size_t len)