Define internal safe_calloc shorthand.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 3 Nov 2010 15:48:04 +0000 (15:48 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 5 Nov 2010 14:18:46 +0000 (14:18 +0000)
(cherry picked from commit 6b8d05438cc0309f762fabf2f3cc7ae4bf5521c1)

src/guestfs-internal.h

index ee04948..ffd8cf1 100644 (file)
@@ -223,6 +223,7 @@ extern void guestfs___print_BufferIn (FILE *out, const char *buf, size_t buf_siz
 
 #define error guestfs_error
 #define perrorf guestfs_perrorf
+#define safe_calloc guestfs_safe_calloc
 #define safe_malloc guestfs_safe_malloc
 #define safe_realloc guestfs_safe_realloc
 #define safe_strdup guestfs_safe_strdup