Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2024 04:18:08 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9a3f7fb46c93 - main - include: ssp: fix last bare `inline`
Message-ID:  <202407210418.46L4I891099697@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=9a3f7fb46c93eb0142a7c32bff3dbda2cd29196e

commit 9a3f7fb46c93eb0142a7c32bff3dbda2cd29196e
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2024-07-21 04:16:24 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2024-07-21 04:17:55 +0000

    include: ssp: fix last bare `inline`
    
    This was missed in b8730c11a39 ("include: ssp: fix the build [...]"),
    but <ssp/wchar.h> also had a bare `inline` in use.  Swap it over to
    __ssp_inline as well.
    
    Reported by:    netchild
    Sponsored by:   Klara, Inc.
    Sponsored by:   Stormshield
---
 include/ssp/wchar.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/ssp/wchar.h b/include/ssp/wchar.h
index 48fc56f9d243..bbc84d379e56 100644
--- a/include/ssp/wchar.h
+++ b/include/ssp/wchar.h
@@ -31,7 +31,7 @@
 
 #if __SSP_FORTIFY_LEVEL > 0
 
-static inline int
+__ssp_inline int
 __ssp_wchar_overlap(const void *leftp, const void *rightp, size_t len)
 {
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407210418.46L4I891099697>