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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to