Skip to content

Commit f802cd3

Browse files
committed
Make it expression-friendly by removing spurious semicolons.
1 parent 64630db commit f802cd3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

debug.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
#if defined(DEBUG)
33

44
/* Full debug */
5-
#define calloc(a, b) DebugMemory_calloc(a, b, __FILE__, __LINE__);
6-
#define malloc(x) DebugMemory_malloc(x, __FILE__, __LINE__, #x);
7-
#define realloc(x,s) DebugMemory_realloc(x, s, __FILE__, __LINE__, #x);
8-
#define strdup(x) DebugMemory_strdup(x, __FILE__, __LINE__);
9-
#define free(x) DebugMemory_free(x, __FILE__, __LINE__);
10-
#define debug_done() DebugMemory_report();
5+
#define calloc(a, b) DebugMemory_calloc(a, b, __FILE__, __LINE__)
6+
#define malloc(x) DebugMemory_malloc(x, __FILE__, __LINE__, #x)
7+
#define realloc(x,s) DebugMemory_realloc(x, s, __FILE__, __LINE__, #x)
8+
#define strdup(x) DebugMemory_strdup(x, __FILE__, __LINE__)
9+
#define free(x) DebugMemory_free(x, __FILE__, __LINE__)
10+
#define debug_done() DebugMemory_report()
1111

1212
#elif defined(DEBUGLITE)
1313

0 commit comments

Comments
 (0)