From: niki Date: Sun, 11 Dec 2005 12:24:43 +0000 (+0000) Subject: setfile -> resetfile X-Git-Tag: collectd-3.5.0~1^2~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7b1af645191bef0baeb4c5af89f005093a410bdd;p=collectd.git setfile -> resetfile --- diff --git a/src/utils_debug.c b/src/utils_debug.c index c839ade0..ae984f88 100644 --- a/src/utils_debug.c +++ b/src/utils_debug.c @@ -187,7 +187,7 @@ cu_debug_stopfile(const char *file, int line, const char *func, char *format, .. return EXIT_SUCCESS; } int -cu_debug_setfile(const char *file, int line, const char *func, char *filename) +cu_debug_resetfile(const char *file, int line, const char *func, char *filename) { return EXIT_SUCCESS; } diff --git a/src/utils_debug.h b/src/utils_debug.h index a7b1971a..d5dcebd5 100644 --- a/src/utils_debug.h +++ b/src/utils_debug.h @@ -32,7 +32,7 @@ #define DBG_STOPFILE(...) cu_debug_stopfile(__FILE__, __LINE__, \ __func__, __VA_ARGS__) -#define DBG_SETFILE(file) cu_debug_setfile(__FILE__, __LINE__, __func__, \ +#define DBG_RESETFILE(file) cu_debug_resetfile(__FILE__, __LINE__, __func__, \ filename) void cu_debug(const char *file, int line, const char *func, @@ -43,7 +43,7 @@ int cu_debug_startfile(const char *file, int line, const char *func, int cu_debug_stopfile(const char *file, int line, const char *func, const char *format, ...); -int cu_debug_setfile(const char *file, int line, const char *func, +int cu_debug_resetfile(const char *file, int line, const char *func, char *filename); #endif /* !COLLECTD_UTILS_DEBUG_H */