diff options
author | Luke Shumaker <lukeshu@beefcake.parabola.nu> | 2018-05-18 15:44:06 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@beefcake.parabola.nu> | 2018-05-18 15:44:06 -0400 |
commit | e26aba8aeeba413fce861c78b46b27ac8b948ea7 (patch) | |
tree | 2e41760a2d040c9d07a5ede50553decc48c4ab4e | |
parent | 02442af0aec2d75aaab73cd605519eddfbe07a29 (diff) |
tidy
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | src/cow-extent-map.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,10 @@ CFLAGS += -std=c11 + CPPFLAGS += -I$(CURDIR)/lib CPPFLAGS += -I$(CURDIR)/hack + +CFLAGS += -g + CFLAGS += -Wall -Werror -Wextra CPPFLAGS += -O2 -D_FORTIFY_SOURCE=2 diff --git a/src/cow-extent-map.c b/src/cow-extent-map.c index 6e7ee57..fe9e964 100644 --- a/src/cow-extent-map.c +++ b/src/cow-extent-map.c @@ -4,10 +4,10 @@ #include <error.h> /* for error(3gnu) */ #include <fcntl.h> /* for open(2) and O_RDONLY */ #include <getopt.h> /* for getopt_long(3gnu), struct option, optind, optarg */ -#include <inttypes.h> /* PRI* */ +#include <inttypes.h> /* for PRI* */ #include <stdbool.h> /* for bool, true, false */ #include <stdio.h> /* for printf(3p), fprintf(3p), stderr */ -#include <stdlib.h> /* free(3p), exit(3p), EXIT_SUCCESS, EXIT_FAILURE */ +#include <stdlib.h> /* for free(3p), exit(3p), EXIT_SUCCESS, EXIT_FAILURE */ #include <string.h> /* for strcmp(3p) */ #include "extent-map.h" /* for uint32_t, fiemap stuff */ |