Use default WARNS setting (of 6) for lib/csu.

PR:		bin/140089
Reviewed by:	jmallett
Approved by:	ed (co-mentor)
This commit is contained in:
Ulrich Spörlein 2010-03-05 13:29:05 +00:00
parent 98b77738b8
commit 03dab16e1d
6 changed files with 7 additions and 15 deletions

View File

@ -2,4 +2,4 @@
SSP_CFLAGS=
WARNS?= 6
.include "../Makefile.inc"

View File

@ -5,12 +5,9 @@
SRCS= crt1.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= Scrt1.o gcrt1.o
CFLAGS+= -Wall -Wno-unused \
-I${.CURDIR}/../common \
CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
WARNS?= 2
all: ${OBJS}
CLEANFILES= ${OBJS}

View File

@ -5,8 +5,7 @@
SRCS= crt1.S crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= Scrt1.o gcrt1.o
CFLAGS+= -Wall -Wno-unused \
-I${.CURDIR}/../common \
CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
all: ${OBJS}

View File

@ -5,12 +5,9 @@
SRCS= crt1.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= Scrt1.o gcrt1.o
CFLAGS+= -Wall -Wno-unused \
-I${.CURDIR}/../common \
CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
WARNS?= 2
all: ${OBJS}
CLEANFILES= ${OBJS}

View File

@ -72,8 +72,8 @@ void __start(char **, void (*)(void), struct Struct_Obj_Entry *, struct ps_strin
void
__start(char **ap,
void (*cleanup)(void), /* from shared loader */
struct Struct_Obj_Entry *obj, /* from shared loader */
struct ps_strings *ps_strings)
struct Struct_Obj_Entry *obj __unused, /* from shared loader */
struct ps_strings *ps_strings __unused)
{
int argc;
char **argv;

View File

@ -5,8 +5,7 @@
SRCS= crt1.c crti.S crtn.S
OBJS= ${SRCS:N*.h:R:S/$/.o/g}
OBJS+= Scrt1.o gcrt1.o
CFLAGS+= -Wall -Wno-unused \
-I${.CURDIR}/../common \
CFLAGS+= -I${.CURDIR}/../common \
-I${.CURDIR}/../../libc/include
all: ${OBJS}