From: Daniel Stenberg Date: Thu, 15 Jun 2023 07:39:09 +0000 (+0200) Subject: examples/multi-debugcallback.c: avoid the bool typedef X-Git-Tag: curl-8_2_0~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5351c71c10eecc7af73c2bc7a39c32c57b0c3eb;p=thirdparty%2Fcurl.git examples/multi-debugcallback.c: avoid the bool typedef Apparently this cannot be done in c23 Reported-by: Cristian Rodríguez Fixes #11299 Closes #11319 --- diff --git a/docs/examples/multi-debugcallback.c b/docs/examples/multi-debugcallback.c index 32d4e57837..8bdb58800f 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;