git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce50b2
)
generator: No need to redefine safe_* macros.
author
Richard Jones
<rjones@redhat.com>
Tue, 17 Aug 2010 10:26:54 +0000
(11:26 +0100)
committer
Richard Jones
<rjones@redhat.com>
Thu, 26 Aug 2010 21:34:38 +0000
(22:34 +0100)
These are already defined in "guestfs-internal.h" which is
included in the .c file.
(cherry picked from commit
3cd272fc6acb043b4002dbcbbf741cecbc4820be
)
src/generator.ml
patch
|
blob
|
history
diff --git
a/src/generator.ml
b/src/generator.ml
index
b5638de
..
6a43c94
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-5922,13
+5922,6
@@
and generate_client_actions () =
#include \"guestfs-internal-actions.h\"
#include \"guestfs_protocol.h\"
-#define error guestfs_error
-//#define perrorf guestfs_perrorf
-#define safe_malloc guestfs_safe_malloc
-#define safe_realloc guestfs_safe_realloc
-//#define safe_strdup guestfs_safe_strdup
-#define safe_memdup guestfs_safe_memdup
-
/* Check the return message from a call for validity. */
static int
check_reply_header (guestfs_h *g,