generator: Remove unnecessary macro redefinitions.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 3 Nov 2010 15:46:46 +0000 (15:46 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 5 Nov 2010 14:18:55 +0000 (14:18 +0000)
These macros are already defined in guestfs-internals.h
(cherry picked from commit 8ccc6cd1f798f960e520ea8de24eb1f6a1313d3a)

generator/generator_bindtests.ml

index adc10dc..02b0680 100644 (file)
@@ -43,10 +43,6 @@ let rec generate_bindtests () =
 #include \"guestfs-internal-actions.h\"
 #include \"guestfs_protocol.h\"
 
-#define error guestfs_error
-#define safe_calloc guestfs_safe_calloc
-#define safe_malloc guestfs_safe_malloc
-
 static void
 print_strings (char *const *argv)
 {