Files
KiTTY/cthelper/debug.h
T

27 lines
473 B
C

#ifndef DEBUG_H
#define DEBUG_H
#include "dbug.h"
#include "mm.h"
#ifndef __attribute__
#define __attribute__(x)
#endif
#if !defined(DBUG_OFF) && !defined(_lint)
/* allow GCC to check format strings against their arguments */
extern void _dbug_doprnt_(const char *format, ...)
__attribute__((format(printf, 1, 2)));
extern void debug_memdump(const void *buf, int len, int L);
#else
#define debug_memdump(buf,len,L)
#endif
#endif /* DEBUG_H */
/* ex:set sw=4: */