summaryrefslogtreecommitdiffstats
path: root/src/guestfs.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@trick.home.annexia.org>2009-08-19 09:09:47 +0100
committerRichard Jones <rjones@trick.home.annexia.org>2009-08-19 09:09:47 +0100
commitab8edb0cf9a23ee4a1655ad3a26a0cff7d61ac3d (patch)
tree5e3b1339412bde9c515a5bca531953855d24e503 /src/guestfs.c
parentdf63ba5e7d916444bb1adae886e5135e8d278b28 (diff)
downloadlibguestfs-ab8edb0cf9a23ee4a1655ad3a26a0cff7d61ac3d.tar.gz
libguestfs-ab8edb0cf9a23ee4a1655ad3a26a0cff7d61ac3d.tar.xz
libguestfs-ab8edb0cf9a23ee4a1655ad3a26a0cff7d61ac3d.zip
build: Comment out some unused macros.
GCC 4.4.1 warns about some unused macros. Comment these out while they are not used.
Diffstat (limited to 'src/guestfs.c')
-rw-r--r--src/guestfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guestfs.c b/src/guestfs.c
index 0d54d65a..58a03544 100644
--- a/src/guestfs.c
+++ b/src/guestfs.c
@@ -64,10 +64,10 @@
#ifdef HAVE_GETTEXT
#include "gettext.h"
#define _(str) dgettext(PACKAGE, (str))
-#define N_(str) dgettext(PACKAGE, (str))
+//#define N_(str) dgettext(PACKAGE, (str))
#else
#define _(str) str
-#define N_(str) str
+//#define N_(str) str
#endif
#define error guestfs_error
@@ -75,7 +75,7 @@
#define safe_malloc guestfs_safe_malloc
#define safe_realloc guestfs_safe_realloc
#define safe_strdup guestfs_safe_strdup
-#define safe_memdup guestfs_safe_memdup
+//#define safe_memdup guestfs_safe_memdup
static void default_error_cb (guestfs_h *g, void *data, const char *msg);
static void stdout_event (struct guestfs_main_loop *ml, guestfs_h *g, void *data, int watch, int fd, int events);