vendor/libgit2/include/git2/trace.h in rugged-0.27.10 vs vendor/libgit2/include/git2/trace.h in rugged-0.27.10.1
- old
+ new
@@ -47,21 +47,21 @@
} git_trace_level_t;
/**
* An instance for a tracing function
*/
-typedef void GIT_CALLBACK(git_trace_cb)(git_trace_level_t level, const char *msg);
+typedef void (*git_trace_callback)(git_trace_level_t level, const char *msg);
/**
* Sets the system tracing configuration to the specified level with the
* specified callback. When system events occur at a level equal to, or
* lower than, the given level they will be reported to the given callback.
*
* @param level Level to set tracing to
* @param cb Function to call with trace data
* @return 0 or an error code
*/
-GIT_EXTERN(int) git_trace_set(git_trace_level_t level, git_trace_cb cb);
+GIT_EXTERN(int) git_trace_set(git_trace_level_t level, git_trace_callback cb);
/** @} */
GIT_END_DECL
#endif