mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
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:
parent
a71288072b
commit
b5351c71c1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user