X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e0e7dff87dc3f482da6ab00317664474b0f82995..875e0b16f64f7b97171d58fe34ebcd57314eb739:/misc.h diff --git a/misc.h b/misc.h index 456cda06..7d0ee4d5 100644 --- a/misc.h +++ b/misc.h @@ -12,6 +12,9 @@ #define TRUE 1 #endif +typedef struct Filename Filename; +typedef struct FontSpec FontSpec; + char *dupstr(const char *s); char *dupcat(const char *s1, ...); char *dupprintf(const char *fmt, ...); @@ -47,9 +50,9 @@ void bufchain_fetch(bufchain *ch, void *data, int len); */ #ifdef DEBUG -void dprintf(char *fmt, ...); +void debug_printf(char *fmt, ...); void debug_memdump(void *buf, int len, int L); -#define debug(x) (dprintf x) +#define debug(x) (debug_printf x) #define dmemdump(buf,len) debug_memdump (buf, len, 0); #define dmemdumpl(buf,len) debug_memdump (buf, len, 1); #else