From 1ad849d9391c55c85bb51b6a07237aa2185123af Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Tue, 13 Jan 2015 20:29:46 -0500 Subject: [PATCH] Include dependencies in the makefile --- Makefile | 2 ++ util.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 268e2b4..855dd4b 100644 --- a/Makefile +++ b/Makefile @@ -32,3 +32,5 @@ clean: rm -f *.d rm -f $(COBJS) $(CDEPS) $(CBIN) rm -f $(TOBJS) $(TDEPS) $(TBIN) + +-include *.d diff --git a/util.c b/util.c index 4adcb4a..c2ab21a 100644 --- a/util.c +++ b/util.c @@ -519,7 +519,7 @@ static const uint16_t util_crc16_table[8][256] = {{ /* Non - Reflected */ uint16_t util_crc16(uint16_t current, const char *GMQCC_RESTRICT k, size_t len) { - register uint16_t h = current; + uint16_t h = current; /* don't load twice */ const uint8_t *GMQCC_RESTRICT data = (const uint8_t *GMQCC_RESTRICT)k; -- 2.39.2