From e26aba8aeeba413fce861c78b46b27ac8b948ea7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 18 May 2018 15:44:06 -0400 Subject: tidy --- Makefile | 4 ++++ src/cow-extent-map.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b76e7cc..9693ea4 100644 --- a/Makefile +++ b/Makefile @@ -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 /* for error(3gnu) */ #include /* for open(2) and O_RDONLY */ #include /* for getopt_long(3gnu), struct option, optind, optarg */ -#include /* PRI* */ +#include /* for PRI* */ #include /* for bool, true, false */ #include /* for printf(3p), fprintf(3p), stderr */ -#include /* free(3p), exit(3p), EXIT_SUCCESS, EXIT_FAILURE */ +#include /* for free(3p), exit(3p), EXIT_SUCCESS, EXIT_FAILURE */ #include /* for strcmp(3p) */ #include "extent-map.h" /* for uint32_t, fiemap stuff */ -- cgit v1.2.3-2-g168b