From b5351c71c10eecc7af73c2bc7a39c32c57b0c3eb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Jun 2023 09:39:09 +0200 Subject: examples/multi-debugcallback.c: avoid the bool typedef MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apparently this cannot be done in c23 Reported-by: Cristian Rodríguez Fixes #11299 Closes #11319 --- docs/examples/multi-debugcallback.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'docs/examples/multi-debugcallback.c') diff --git a/docs/examples/multi-debugcallback.c b/docs/examples/multi-debugcallback.c index 32d4e5783..8bdb58800 100644 --- a/docs/examples/multi-debugcallback.c +++ b/docs/examples/multi-debugcallback.c @@ -36,13 +36,10 @@ /* curl stuff */ #include -typedef char bool; #define TRUE 1 -static -void dump(const char *text, - FILE *stream, unsigned char *ptr, size_t size, - bool nohex) +static void dump(const char *text, FILE *stream, unsigned char *ptr, + size_t size, char nohex) { size_t i; size_t c; -- cgit v1.2.3