From 941791759c2cb64e4884579b7a7cc5fb21feec26 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 17 Aug 2020 05:57:02 +0000 Subject: [PATCH] Don't explicitly specify c99 or gnu99 as the default is now gnu99. MFC after: 2 weeks --- lib/libc/tests/sys/Makefile | 2 -- lib/libfetch/Makefile | 2 -- lib/libpam/libpam/Makefile | 1 - lib/msun/tests/Makefile | 2 -- libexec/rtld-elf/Makefile | 1 - usr.bin/fetch/Makefile | 1 - usr.bin/unzip/Makefile | 1 - 7 files changed, 10 deletions(-) diff --git a/lib/libc/tests/sys/Makefile b/lib/libc/tests/sys/Makefile index 5534e4ba0f50..7b99431a28f7 100644 --- a/lib/libc/tests/sys/Makefile +++ b/lib/libc/tests/sys/Makefile @@ -70,8 +70,6 @@ NETBSD_ATF_TESTS_C+= wait_noproc_test NETBSD_ATF_TESTS_C+= wait_noproc_wnohang_test NETBSD_ATF_TESTS_C+= write_test -CSTD?= c99 - LIBADD.getpid_test+= pthread LIBADD.timer_create_test+= rt diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index e3c4533aed1f..99c4ceea9dd9 100644 --- a/lib/libfetch/Makefile +++ b/lib/libfetch/Makefile @@ -23,8 +23,6 @@ LIBADD+= md CFLAGS+= -DFTP_COMBINE_CWDS -CSTD?= c99 - SHLIB_MAJOR= 6 ftperr.h: ftp.errors ${.CURDIR}/Makefile diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile index e925b311636b..6ceace4af942 100644 --- a/lib/libpam/libpam/Makefile +++ b/lib/libpam/libpam/Makefile @@ -156,7 +156,6 @@ MAN?= openpam.3 \ MLINKS?= pam.conf.5 pam.d.5 -CSTD?= c99 CFLAGS+= -I${OPENPAM}/include CFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} CFLAGS+= -DHAVE_DLFUNC=1 diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile index d1c8ba34398c..5e9c54189bb7 100644 --- a/lib/msun/tests/Makefile +++ b/lib/msun/tests/Makefile @@ -75,8 +75,6 @@ ATF_TESTS_C+= trig_test CFLAGS+= -O0 .endif -CSTD= c99 - #COPTS+= -Wfloat-equal IGNORE_PRAGMA= diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 40ad7a7ffc2f..2309e0c17dd1 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -29,7 +29,6 @@ SRCS= \ debug.c \ libmap.c MAN?= rtld.1 -CSTD?= gnu99 ACFLAGS+= -DLOCORE CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD -ffreestanding CFLAGS+= -I${SRCTOP}/lib/csu/common diff --git a/usr.bin/fetch/Makefile b/usr.bin/fetch/Makefile index 93c43a7c816b..1c2ea1d78595 100644 --- a/usr.bin/fetch/Makefile +++ b/usr.bin/fetch/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= fetch -CSTD?= c99 LIBADD= fetch .include diff --git a/usr.bin/unzip/Makefile b/usr.bin/unzip/Makefile index 9ed1a950c77d..c1713e95222b 100644 --- a/usr.bin/unzip/Makefile +++ b/usr.bin/unzip/Makefile @@ -1,7 +1,6 @@ # $FreeBSD$ PROG = unzip -CSTD = c99 LIBADD= archive .include