summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 15d2cc7)
raw | patch | inline | side by side (parent: 15d2cc7)
author | niki <niki> | |
Sun, 11 Dec 2005 12:24:43 +0000 (12:24 +0000) | ||
committer | niki <niki> | |
Sun, 11 Dec 2005 12:24:43 +0000 (12:24 +0000) |
src/utils_debug.c | patch | blob | history | |
src/utils_debug.h | patch | blob | history |
diff --git a/src/utils_debug.c b/src/utils_debug.c
index c839ade0f565dea33d89419aaccaba46cbe37211..ae984f8853187e876c3096f862b45a79a492076f 100644 (file)
--- 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 a7b1971a1b8718bbf0efcf1c8aaded3823225054..d5dcebd53a5579eb331d0406c23194a1ae58ca98 100644 (file)
--- a/src/utils_debug.h
+++ b/src/utils_debug.h
#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,
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 */