File: gcc-15.patch

package info (click to toggle)
zephyr 3.1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,920 kB
  • sloc: ansic: 41,378; sh: 10,723; makefile: 880; python: 438; yacc: 250; lisp: 127
file content (20 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-09-09
Bug-Debian: https://bugs.debian.org/1098197
Description: bool is a reserved word in C23
Forwarded: https://github.com/zephyr-im/zephyr/issues/143

--- a/zwgc/eval.c
+++ b/zwgc/eval.c
@@ -67,9 +67,9 @@ static const char rcsid_eval_c[] = "$Id:
  */
 
 static string
-bool_to_string(int bool)
+bool_to_string(int bool_val)
 {
-    return(bool ? string_Copy("TRUE") : string_Copy("FALSE"));
+    return(bool_val ? string_Copy("TRUE") : string_Copy("FALSE"));
 }
 
 /*