Add -Wstrict-prototypes to CFLAGS for more strict checking.

This commit is contained in:
Uwe Hermann 2009-07-22 03:28:58 +02:00
parent fd1e0290cd
commit 574f77f6df
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ PREFIX ?= arm-elf
CC = $(PREFIX)-gcc
AR = $(PREFIX)-ar
CFLAGS = -Os -g -Wall -Wextra -I../include -fno-common \
-mcpu=cortex-m3 -mthumb
-mcpu=cortex-m3 -mthumb -Wstrict-prototypes
# ARFLAGS = rcsv
ARFLAGS = rcs
OBJS = gpio.o rcc.o