git://git.jankratochvil.net
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1e1d59
)
g_log() accelerated by 'captive_debug_messages_disabled' slave global flag.
captive-1_0_1
author
short
<>
Tue, 28 Oct 2003 16:40:23 +0000
(16:40 +0000)
committer
short
<>
Tue, 28 Oct 2003 16:40:23 +0000
(16:40 +0000)
ntoskrnl/dbg/print.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/dbg/print.c
b/ntoskrnl/dbg/print.c
index
f3f6a8f
..
d892fab
100644
(file)
--- a/
ntoskrnl/dbg/print.c
+++ b/
ntoskrnl/dbg/print.c
@@
-57,7
+57,7
@@
__asm__ ("\n\t.global _DbgService\n\t"
*/
#ifdef LIBCAPTIVE
*/
#ifdef LIBCAPTIVE
-extern gboolean captive_
get_debug_messages(void)
;
+extern gboolean captive_
debug_messages_disabled
;
#endif /* LIBCAPTIVE */
/*
#endif /* LIBCAPTIVE */
/*
@@
-71,7
+71,7
@@
DbgPrint(PCH Format, ...)
va_list ap;
#ifdef LIBCAPTIVE
va_list ap;
#ifdef LIBCAPTIVE
- if (
!captive_get_debug_messages()
)
+ if (
captive_debug_messages_disabled
)
return 0;
#endif /* LIBCAPTIVE */
return 0;
#endif /* LIBCAPTIVE */