Soft'N'Design Software
/
projects
/
compress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove calloc calls
[compress.git]
/
fprintf.h
diff --git
a/fprintf.h
b/fprintf.h
index 8686b43507ab5cab6abb40115c6e913787fa0445..8c2bb0bb2f81ad971c921be5098ba0473685e205 100644
(file)
--- a/
fprintf.h
+++ b/
fprintf.h
@@
-3,6
+3,12
@@
int fdprintf (int fd, const char *fmt, ...);
+extern int _fdout;
+extern int _fderr;
+
+#define PRINTOUT(fmt...) fdprintf (_fdout, fmt)
+#define PRINTERR(fmt...) fdprintf (_fderr, fmt)
+
#endif /* __FPRINTF_H__ */
/* vim: set ts=4 sw=4 et */