From 8c13738f380db02aed2e3450c7ca77c05acdcd6e Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 16 Aug 1995 16:11:48 +0000 Subject: [PATCH] Make everything except the unsupported network sources compile cleanly with -Wnested-extern. --- sys/conf/Makefile.i386 | 6 +++--- sys/conf/Makefile.powerpc | 6 +++--- sys/i386/conf/Makefile.i386 | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 19e5c4ac0058..21084ec379a5 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.64 1995/05/30 07:59:05 rgrimes Exp $ +# $Id: Makefile.i386,v 1.65 1995/07/22 23:55:41 bde Exp $ # # Makefile for FreeBSD # @@ -25,10 +25,10 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit +CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ + -Wnested-externs # # The following flags are next up for working on: -# -Wnested-externs (almost works) # -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # # When working on removing warnings from code, the `-Werror' flag should be diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 19e5c4ac0058..21084ec379a5 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.64 1995/05/30 07:59:05 rgrimes Exp $ +# $Id: Makefile.i386,v 1.65 1995/07/22 23:55:41 bde Exp $ # # Makefile for FreeBSD # @@ -25,10 +25,10 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit +CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ + -Wnested-externs # # The following flags are next up for working on: -# -Wnested-externs (almost works) # -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # # When working on removing warnings from code, the `-Werror' flag should be diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 19e5c4ac0058..21084ec379a5 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.64 1995/05/30 07:59:05 rgrimes Exp $ +# $Id: Makefile.i386,v 1.65 1995/07/22 23:55:41 bde Exp $ # # Makefile for FreeBSD # @@ -25,10 +25,10 @@ S= ../.. .endif I386= ${S}/i386 -CWARNFLAGS?=-W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit +CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ + -Wnested-externs # # The following flags are next up for working on: -# -Wnested-externs (almost works) # -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations # # When working on removing warnings from code, the `-Werror' flag should be