From: Michel Pollet Date: Tue, 31 Aug 2010 10:30:49 +0000 (+0100) Subject: misc: Typos etc X-Git-Tag: v1.0a5~3 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=2df48dd56ca8c9f93e9c20dc98492408d0b34f5b;p=sx%2Fsimavr.git misc: Typos etc Makefile now uses $(CC) so it works with clang static analyzer. Signed-off-by: Michel Pollet --- diff --git a/Makefile.common b/Makefile.common index 182c432..91000cb 100644 --- a/Makefile.common +++ b/Makefile.common @@ -71,7 +71,7 @@ endif OBJ = obj ${OBJ}/%.o: %.c - @gcc $(CFLAGS) -MD \ + @$(CC) $(CFLAGS) -MD \ $< -c -o $@ @echo CC $< diff --git a/simavr/sim/sim_regbit.h b/simavr/sim/sim_regbit.h index 02d840a..1f74197 100644 --- a/simavr/sim/sim_regbit.h +++ b/simavr/sim/sim_regbit.h @@ -41,7 +41,7 @@ typedef struct avr_regbit_t { /* * These accessors are inlined and are used to perform the operations on * avr_regbit_t definitions. This is the "official" way to access bits into registers - * The small footorint costs brings much better versatility for functions/bits that are + * The small footprint costs brings much better versatility for functions/bits that are * not always defined in the same place on real AVR cores */ /*