git.samba.org
/
jelmer
/
ptabtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b686213
)
Remove invalid printf
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 11 Mar 2005 10:31:03 +0000
(11:31 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Fri, 11 Mar 2005 10:31:03 +0000
(11:31 +0100)
ptb.c
patch
|
blob
|
history
diff --git
a/ptb.c
b/ptb.c
index bf79e786b2a5b411877ae2e23adc842ae622b40d..83afb14d25dc0db686061d4b38ad95e8b62f1986 100644
(file)
--- a/
ptb.c
+++ b/
ptb.c
@@
-54,8
+54,6
@@
int assert_is_fatal = 0;
if(assert_is_fatal) abort(); \
}
-#define ptb_error printf
-
#define malloc_p(t,n) (t *) calloc(sizeof(t), n)
#define GET_ITEM(bf, dest, type) ((bf)->mode == O_WRONLY?(type *)(*(dest)):malloc_p(type, 1))