Allow __ssp_inline to be overriden
This commit is contained in:
parent
0e02efbf50
commit
04bc78e580
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ssp.h,v 1.15 2023/11/10 23:03:37 christos Exp $ */
|
||||
/* $NetBSD: ssp.h,v 1.16 2023/11/15 03:14:16 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006, 2011, 2023 The NetBSD Foundation, Inc.
|
||||
|
@ -58,8 +58,10 @@
|
|||
#endif
|
||||
#define __ssp_real(fun) __ssp_real_(fun)
|
||||
|
||||
#ifndef __ssp_inline
|
||||
#define __ssp_inline extern __inline \
|
||||
__attribute__((__always_inline__, __gnu_inline__))
|
||||
#endif
|
||||
|
||||
#if __SSP_FORTIFY_LEVEL > 2
|
||||
# define __ssp_bos(ptr) __builtin_dynamic_object_size(ptr, 1)
|
||||
|
|
Loading…
Reference in New Issue