diff options
author | Samuel Bronson <naesten@gmail.com> | 2013-12-12 21:53:41 -0500 |
---|---|---|
committer | Samuel Bronson <naesten@gmail.com> | 2013-12-12 21:53:41 -0500 |
commit | 2ea37633255f42b9d0a3cdce5fa6f921dd74b5c3 (patch) | |
tree | 71ae14a41b5561a5e772ec1face6cc65a00756f5 /crawl-ref/source/syscalls.h | |
parent | f72215e01c566abe4efc4fb2311c652dadf383c1 (diff) | |
download | crawl-ref-2ea37633255f42b9d0a3cdce5fa6f921dd74b5c3.tar.gz crawl-ref-2ea37633255f42b9d0a3cdce5fa6f921dd74b5c3.zip |
Start using -Wredundant-decls; fix all the instances I get
That is, unless you count the ones in ncurses' headers, which I can't
do anything except suppress.
Diffstat (limited to 'crawl-ref/source/syscalls.h')
-rw-r--r-- | crawl-ref/source/syscalls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/syscalls.h b/crawl-ref/source/syscalls.h index 17dee76bcc..6aa96ac695 100644 --- a/crawl-ref/source/syscalls.h +++ b/crawl-ref/source/syscalls.h @@ -8,6 +8,8 @@ #include <sys/types.h> +#include "config.h" + bool lock_file(int fd, bool write, bool wait = false); bool unlock_file(int fd); |