Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2015 10:28:16 +0200
From:      Thomas Mueller <tmueller@sysgo.com>
To:        Devin Teske <dteske@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r281843 - in stable/10: sys/boot sys/boot/arm/uboot sys/boot/common sys/boot/forth sys/boot/i386/loader sys/boot/pc98/loader sys/boot/powerpc/ofw sys/boot/powerpc/ps3 sys/boot/sparc64/l...
Message-ID:  <20150422102816.52860690@tmu.ulm.sysgo.com>
In-Reply-To: <201504220108.t3M18f7N097880@svn.freebsd.org>
References:  <201504220108.t3M18f7N097880@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Apr 2015 01:08:41 +0000 (UTC), Devin Teske wrote:
> Author: dteske
> Date: Wed Apr 22 01:08:40 2015
> New Revision: 281843
> URL: https://svnweb.freebsd.org/changeset/base/281843
> 
> Log:
> [...]
>   r281616: Add "GELI Passphrase:" prompt to boot loader
>   
> [...]
> Modified:
> [...]
>   stable/10/sys/kern/init_main.c

kern_unsetenv() is still named unsetenv() on 10-STABLE:

cc  -c -O2 -pipe -fno-strict-aliasing  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function   -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -Werror  /usr/src/sys/kern/init_main.c
/usr/src/sys/kern/init_main.c:711:2: error: implicit declaration of function 'kern_unsetenv' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        kern_unsetenv("kern.geom.eli.passphrase");
        ^
1 error generated.
*** Error code 1

-- 
Thomas Mueller



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150422102816.52860690>