diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-06-15 09:39:09 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-06-15 15:54:48 +0200 |
commit | b5351c71c10eecc7af73c2bc7a39c32c57b0c3eb (patch) | |
tree | f705ca127ce581c57932167ff9d56457d607248a /docs/examples/multi-debugcallback.c | |
parent | a71288072b84ffd844107ba777eca889f810ba3a (diff) |
examples/multi-debugcallback.c: avoid the bool typedef
Apparently this cannot be done in c23
Reported-by: Cristian RodrÃguez
Fixes #11299
Closes #11319
Diffstat (limited to 'docs/examples/multi-debugcallback.c')
-rw-r--r-- | docs/examples/multi-debugcallback.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <curl/curl.h> -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; |