Skip to content

Commit

Permalink
Make it expression-friendly by removing spurious semicolons.
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed May 30, 2006
1 parent 64630db commit f802cd3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
#if defined(DEBUG)

/* Full debug */
#define calloc(a, b) DebugMemory_calloc(a, b, __FILE__, __LINE__);
#define malloc(x) DebugMemory_malloc(x, __FILE__, __LINE__, #x);
#define realloc(x,s) DebugMemory_realloc(x, s, __FILE__, __LINE__, #x);
#define strdup(x) DebugMemory_strdup(x, __FILE__, __LINE__);
#define free(x) DebugMemory_free(x, __FILE__, __LINE__);
#define debug_done() DebugMemory_report();
#define calloc(a, b) DebugMemory_calloc(a, b, __FILE__, __LINE__)
#define malloc(x) DebugMemory_malloc(x, __FILE__, __LINE__, #x)
#define realloc(x,s) DebugMemory_realloc(x, s, __FILE__, __LINE__, #x)
#define strdup(x) DebugMemory_strdup(x, __FILE__, __LINE__)
#define free(x) DebugMemory_free(x, __FILE__, __LINE__)
#define debug_done() DebugMemory_report()

#elif defined(DEBUGLITE)

Expand Down

0 comments on commit f802cd3

Please sign in to comment.