Frees the orig variable in the path_split function
[git-cheetah.git] / common / debug.h
blob46eac24658aa6c37f82f5412c10a47496bb9aa96
1 #ifndef DEBUG_H
2 #define DEBUG_H
4 typedef void reporter(char *format, ...);
5 void _debug_git(char * format, ...);
6 void _debug_git_mbox(char *format, ...);
8 #ifdef DEBUG
9 # define debug_git _debug_git
10 # define debug_git_mbox _debug_git_mbox
11 #else
12 # define debug_git(...)
13 # define debug_git_mbox
14 #endif
16 #endif /* DEBUG_H */