lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <152261536576.30503.4764265997854816995.stgit@warthog.procyon.org.uk> Date: Sun, 01 Apr 2018 21:42:45 +0100 From: David Howells <dhowells@...hat.com> To: linux-kernel@...r.kernel.org Subject: [PATCH 25/45] C++: Fix void variables Turn void-type variables into char-type as C++ doesn't allow the former. Signed-off-by: David Howells <dhowells@...hat.com> --- include/asm-generic/sections.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h index 849cd8eb5ca0..f3efd6cc9ba0 100644 --- a/include/asm-generic/sections.h +++ b/include/asm-generic/sections.h @@ -53,7 +53,7 @@ extern char __ctors_start[], __ctors_end[]; /* Start and end of .opd section - used for function descriptors. */ extern char __start_opd[], __end_opd[]; -extern __visible const void __nosave_begin, __nosave_end; +extern __visible const char __nosave_begin[], __nosave_end[]; /* Function descriptor handling (if any). Override in asm/sections.h */ #ifndef dereference_function_descriptor
Powered by blists - more mailing lists