]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Couple of minor xfs_copy build fixes for problems reported via the list
authorNathan Scott <nathans@sgi.com>
Sun, 27 Jul 2003 21:29:31 +0000 (21:29 +0000)
committerNathan Scott <nathans@sgi.com>
Sun, 27 Jul 2003 21:29:31 +0000 (21:29 +0000)
copy/Makefile
copy/xfs_copy.c

index 5a8de52ade27e9c18a74451ba636dae350c239e5..e9b1d1f9f22977fa93d2d7ff25961c2d5efc7bd6 100644 (file)
@@ -35,6 +35,7 @@ include $(TOPDIR)/include/builddefs
 
 LTCOMMAND = xfs_copy
 CFILES = xfs_copy.c
+HFILES = xfs_copy.h
 
 LLDLIBS = $(LIBXFS) $(LIBUUID) $(LIBPTHREAD)
 LTDEPENDENCIES = $(LIBXFS)
index f92225b504be8f9f47665800267a92e3f1136659..78255205703fbbcf1cb26bc8a649bb3203825c13 100644 (file)
@@ -129,7 +129,7 @@ do_message(int flags, int code, const char *fmt, ...)
 #define do_error(e,s)          do_message(ERR|LOG|PRE, e, s)
 #define do_fatal(e,s)          do_message(ERR|LOG|PRE|LAST, e, s)
 #define do_vfatal(e,s,args...) do_message(ERR|LOG|PRE|LAST, e, s, ## args)
-#define die_perror(void)       \
+#define die_perror() \
                do { \
                        do_message(ERR|LOG|PRE|LAST, errno, \
                                _("Aborting XFS copy - reason")); \