From eb0e8fa0b1960cff4bd65ebefc798f70273b0bc9 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 17 Apr 2011 16:32:15 -0400 Subject: debloat: use __syscall instead of syscall where possible don't waste time (and significant code size due to function call overhead!) setting errno when the result of a syscall does not matter or when it can't fail. --- src/unistd/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd') diff --git a/src/unistd/sync.c b/src/unistd/sync.c index 20fafb4a..f18765aa 100644 --- a/src/unistd/sync.c +++ b/src/unistd/sync.c @@ -3,5 +3,5 @@ void sync(void) { - syscall(SYS_sync); + __syscall(SYS_sync); } -- cgit v1.2.1