Module Name: src
Committed By: christos
Date: Wed Nov 15 03:14:16 UTC 2023
Modified Files:
src/include/ssp: ssp.h
Log Message:
Allow __ssp_inline to be overriden
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/include/ssp/ssp.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/ssp/ssp.h
diff -u src/include/ssp/ssp.h:1.15 src/include/ssp/ssp.h:1.16
--- src/include/ssp/ssp.h:1.15 Fri Nov 10 18:03:37 2023
+++ src/include/ssp/ssp.h Tue Nov 14 22:14:16 2023
@@ -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)