From 79a8f4b2c9b5096c90608018b0d3ba0cb6216ea8 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 29 Nov 2016 15:16:08 -0800 Subject: [PATCH] Fix return type of sync(2). Bug: N/A Test: builds Change-Id: Ie93f1e8609baf2939c809f673b96248a384695ee --- libc/include/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/unistd.h b/libc/include/unistd.h index 1e239cd7a..cbdb438d8 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -148,7 +148,7 @@ int fchownat(int __dirfd, const char* __path, uid_t __owner, gid_t __group, int int lchown(const char* __path, uid_t __owner, gid_t __group); char* getcwd(char* __buf, size_t __size); -int sync(void); +void sync(void); int close(int __fd); -- 2.11.0