projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd80407
)
hide i_fatal() under IMAGER_NO_CONTEXT
author
Tony Cook
<tony@develop-help.com>
Sat, 11 Aug 2012 04:40:10 +0000
(14:40 +1000)
committer
Tony Cook
<tony@develop-help.com>
Sat, 24 Nov 2012 03:59:24 +0000
(14:59 +1100)
to ensure the local aIMCTX is used.
log.h
patch
|
blob
|
blame
|
history
diff --git
a/log.h
b/log.h
index a942926d913ead915bf47ea18690dd242505e1b3..c54b58ae878ff9e3ffd91c184da1ba14c146cbd4 100644
(file)
--- a/
log.h
+++ b/
log.h
@@
-13,7
+13,9
@@
int im_init_log(pIMCTX, const char *name, int onoff );
#define i_init_log(name, onoff) im_init_log(aIMCTX, name, onoff)
+#ifndef IMAGER_NO_CONTEXT
void i_fatal ( int exitcode,const char *fmt, ... );
+#endif
void im_fatal (pIMCTX, int exitcode,const char *fmt, ... );
void im_lhead ( pIMCTX, const char *file, int line );
void i_lhead ( const char *file, int line );