projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c59e0
)
* hook init function calls to the same define
author
Wilfried Göesgens
<willi@citadel.org>
Wed, 30 Jul 2008 22:22:58 +0000
(22:22 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Wed, 30 Jul 2008 22:22:58 +0000
(22:22 +0000)
webcit/mk_module_init.sh
patch
|
blob
|
history
diff --git
a/webcit/mk_module_init.sh
b/webcit/mk_module_init.sh
index bf38637b306bfa4b3e51ebceeb1e10c7010ded9d..4f58db1e395a29983611314ef6df8d41520fd233 100755
(executable)
--- a/
webcit/mk_module_init.sh
+++ b/
webcit/mk_module_init.sh
@@
-108,7
+108,9
@@
for HOOK in $INIT_FUNCS; do
HOOKNAME=`echo $HOOK |sed "s;InitModule_;;"`
# Add this entry point to the .c file
cat <<EOF >> $C_FILE
+#ifdef DBG_PRINNT_HOOKS_AT_START
lprintf (CTDL_INFO, "Initializing $HOOKNAME\n");
+#endif
$HOOK();
EOF
# Add this entry point to the .h file