summaryrefslogtreecommitdiff
path: root/source4/lib/util/debug.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-01 15:02:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:11 -0500
commit685b824aa88a03a8b70507d5d2454a744468075a (patch)
treeeb674c77887a708fb441c00b5f4cc5cf9a493899 /source4/lib/util/debug.h
parentcaeba73a335d429010626810ddd6dc40f84295e6 (diff)
downloadsamba-685b824aa88a03a8b70507d5d2454a744468075a.tar.gz
samba-685b824aa88a03a8b70507d5d2454a744468075a.tar.bz2
samba-685b824aa88a03a8b70507d5d2454a744468075a.zip
r13770: - do fsync() on the debug fd, as we do in samba3,
I have an report that smbd memory usage grows to 1,5 GB or more without this... - make log_timestamp static metze (This used to be commit 551dd12baf9340ab070c8a8edca6b56770243a61)
Diffstat (limited to 'source4/lib/util/debug.h')
-rw-r--r--source4/lib/util/debug.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/lib/util/debug.h b/source4/lib/util/debug.h
index 8ff937e7b9..4cd5759119 100644
--- a/source4/lib/util/debug.h
+++ b/source4/lib/util/debug.h
@@ -43,9 +43,6 @@ struct debug_ops {
void (*log_task_id)(int fd);
};
-void do_debug_header(int level, const char *location, const char *func);
-void do_debug(const char *, ...) PRINTF_ATTRIBUTE(1,2);
-
extern int DEBUGLEVEL;
#define DEBUGLVL(level) ((level) <= DEBUGLEVEL)