diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-10 17:09:12 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-10 17:09:12 +0000 |
commit | ade327a7af869d4d70e28e2a596473943e0299dd (patch) | |
tree | 983718c4c6c09af2f76d8a6576848fcbfda9cd0d /fuse/guestmount.c | |
parent | 3833ddc6566f92783dc5a8894383c304e3d2c0b4 (diff) | |
download | libguestfs-ade327a7af869d4d70e28e2a596473943e0299dd.tar.gz libguestfs-ade327a7af869d4d70e28e2a596473943e0299dd.tar.xz libguestfs-ade327a7af869d4d70e28e2a596473943e0299dd.zip |
Don't export STREQ and friends in <guestfs.h>
Move these to private header file(s) and other places as required
since these aren't part of the public API.
Diffstat (limited to 'fuse/guestmount.c')
-rw-r--r-- | fuse/guestmount.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/fuse/guestmount.c b/fuse/guestmount.c index d45c18bd..739d8cbf 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -46,6 +46,7 @@ #include "progname.h" +#include "guestmount.h" #include "dircache.h" /* See <attr/xattr.h> */ @@ -53,21 +54,6 @@ #define ENOATTR ENODATA #endif -#ifdef HAVE_GETTEXT -#include "gettext.h" -#define _(str) dgettext(PACKAGE, (str)) -//#define N_(str) dgettext(PACKAGE, (str)) -#else -#define _(str) str -//#define N_(str) str -#endif - -static inline char * -bad_cast (char const *s) -{ - return (char *) s; -} - static guestfs_h *g = NULL; static int read_only = 0; int verbose = 0; |