From a8952b3c7b1067f304e24237bd035263e6b62ed9 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 4 Aug 2007 16:24:49 +0000 Subject: Some all-around code reformatting/cleaning git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10947 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/utils.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/common/utils.h') diff --git a/src/common/utils.h b/src/common/utils.h index 66ce04c99..898a63ab4 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -4,13 +4,11 @@ #ifndef _UTILS_H_ #define _UTILS_H_ +#include #include -// Function that dumps the hex of the first num bytes of the buffer to the screen -//#define UTIL_DUMP -#ifdef UTIL_DUMP -void dump(const unsigned char* buffer, int num); -#endif +// generate a hex dump of the first 'length' bytes of 'buffer' +void dump(FILE* fp, const unsigned char* buffer, int length); struct StringBuf { char *buf_; -- cgit v1.2.3-70-g09d2