summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--src/cow-extent-map.c4
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 <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 */