]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - lib/libc/sys/stack_protector_compat.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / lib / libc / sys / stack_protector_compat.c
1 /*
2  * Written by Alexander Kabaev <kan@FreeBSD.org>
3  * The file is in public domain.
4  */
5
6 #include <sys/cdefs.h>
7 __FBSDID("$FreeBSD$");
8
9 void __stack_chk_fail(void);
10
11 #ifdef PIC
12 void
13 __stack_chk_fail_local_hidden(void)
14 {
15
16         __stack_chk_fail();
17 }
18
19 __sym_compat(__stack_chk_fail_local, __stack_chk_fail_local_hidden, FBSD_1.0);
20 #endif