examples/multi-debugcallback.c: avoid the bool typedef

Apparently this cannot be done in c23

Reported-by: Cristian Rodríguez
Fixes #11299
Closes #11319
This commit is contained in:
Daniel Stenberg 2023-06-15 09:39:09 +02:00
parent a71288072b
commit b5351c71c1
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;