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...

Thomas Mueller tmueller at sysgo.com
Wed Apr 22 08:34:22 UTC 2015


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


More information about the svn-src-all mailing list