From 7b1af645191bef0baeb4c5af89f005093a410bdd Mon Sep 17 00:00:00 2001 From: niki Date: Sun, 11 Dec 2005 12:24:43 +0000 Subject: [PATCH] setfile -> resetfile --- src/utils_debug.c | 2 +- src/utils_debug.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.30.2