mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
Minor fixes to "daemon: Split out command* functions and CLEANUP_* macros."
This updates commit d94860d7e8.
Thanks: Pino Toscano.
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
#ifndef GUESTFSD_CLEANUPS_H
|
||||
#define GUESTFSD_CLEANUPS_H
|
||||
|
||||
/* Used by the CLEANUP_* macros. */
|
||||
/* These functions are used internally by the CLEANUP_* macros.
|
||||
* Don't call them directly.
|
||||
*/
|
||||
extern void cleanup_free (void *ptr);
|
||||
extern void cleanup_free_string_list (void *ptr);
|
||||
extern void cleanup_unlink_free (void *ptr);
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
#include "ignore-value.h"
|
||||
|
||||
#include "guestfs-internal-all.h"
|
||||
#include "command.h"
|
||||
#include "cleanups.h"
|
||||
|
||||
@@ -39,10 +40,6 @@ extern int verbose;
|
||||
extern const char *sysroot;
|
||||
extern size_t sysroot_len;
|
||||
|
||||
#ifndef MAX
|
||||
# define MAX(a,b) ((a)>(b)?(a):(b))
|
||||
#endif
|
||||
|
||||
/* For improved readability dealing with pipe arrays */
|
||||
#define PIPE_READ 0
|
||||
#define PIPE_WRITE 1
|
||||
|
||||
Reference in New Issue
Block a user