projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adjust a few things to avoid triggering warnings under MSVC
[folly.git]
/
folly
/
portability
/
Unistd.cpp
diff --git
a/folly/portability/Unistd.cpp
b/folly/portability/Unistd.cpp
index 32e01f1f00aef2ae4a5064a7dc1f7cd4212f17ac..4d387b0220a199a6af36475e0f6928bbfc95ea1e 100755
(executable)
--- a/
folly/portability/Unistd.cpp
+++ b/
folly/portability/Unistd.cpp
@@
-228,7
+228,9
@@
ssize_t readlink(const char* path, char* buf, size_t buflen) {
return ret;
}
-void* sbrk(intptr_t i) { return (void*)-1; }
+void* sbrk(intptr_t /* i */) {
+ return (void*)-1;
+}
unsigned int sleep(unsigned int seconds) {
Sleep((DWORD)(seconds * 1000));