Fix all warnings and enable -Werror

mostly unused variables and broken indentation.
This commit is contained in:
Adrien Destugues
2017-05-06 15:13:50 +02:00
parent c0e625fdef
commit 5b6095f0bc
14 changed files with 56 additions and 95 deletions

View File

@@ -1,6 +1,9 @@
/* vim:expandtab:ts=2 sw=2:
*/
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>