mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
generator: No need to redefine safe_* macros.
These are already defined in "guestfs-internal.h" which is included in the .c file.
This commit is contained in:
@@ -6059,13 +6059,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,
|
||||
|
||||
Reference in New Issue
Block a user