summaryrefslogtreecommitdiff
path: root/docs/examples/multi-debugcallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/multi-debugcallback.c')
-rw-r--r--docs/examples/multi-debugcallback.c7
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;