commit | 79a8f4b2c9b5096c90608018b0d3ba0cb6216ea8 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 29 15:16:08 2016 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Nov 29 15:16:08 2016 -0800 |
tree | b8a6264664b4a214bc65ca33bc998f98598ac3ed | |
parent | 11b362d284b49e070813cd459584ea3dabb20b1e [diff] [blame] |
Fix return type of sync(2). Bug: N/A Test: builds Change-Id: Ie93f1e8609baf2939c809f673b96248a384695ee
diff --git a/libc/include/unistd.h b/libc/include/unistd.h index 1e239cd..cbdb438 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h
@@ -148,7 +148,7 @@ 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);