mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Based on a fix from OpenSUSE, but adjusted to be Clang-compatible too. Pass
-Wno-implicit-function-declaration library-wide rather than using local GCC
pragmas.
Fix of copy_past_newline() to avoid triggering -Wstrict-prototypes.
Link: https://build.opensuse.org/request/show/1178775
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
master commit: 444cb9350f
master date: 2024-10-03 10:07:25 +0100
11 lines
256 B
Diff
11 lines
256 B
Diff
--- newlib-1.16.0/newlib/doc/makedoc.c.orig
|
|
+++ newlib-1.16.0/newlib/doc/makedoc.c
|
|
@@ -798,6 +798,7 @@ DEFUN( iscommand,(ptr, idx),
|
|
}
|
|
|
|
|
|
+static unsigned int
|
|
DEFUN(copy_past_newline,(ptr, idx, dst),
|
|
string_type *ptr AND
|
|
unsigned int idx AND
|