From: Arvin Schnell Date: Thu, 30 Aug 2012 15:01:17 +0000 (+0200) Subject: - cleanup X-Git-Tag: v0.1.3~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0ae818a68d09e3d487c8d010214ab4e611911ad3;p=thirdparty%2Fsnapper.git - cleanup --- diff --git a/snapper/AppUtil.cc b/snapper/AppUtil.cc index 1eaeffc0..3fdec206 100644 --- a/snapper/AppUtil.cc +++ b/snapper/AppUtil.cc @@ -105,10 +105,8 @@ namespace snapper bool clonefile(int src_fd, int dest_fd) { -#undef BTRFS_IOCTL_MAGIC #define BTRFS_IOCTL_MAGIC 0x94 -#undef BTRFS_IOC_CLONE -#define BTRFS_IOC_CLONE _IOW (BTRFS_IOCTL_MAGIC, 9, int) +#define BTRFS_IOC_CLONE _IOW(BTRFS_IOCTL_MAGIC, 9, int) int r1 = ioctl(dest_fd, BTRFS_IOC_CLONE, src_fd); if (r1 != 0) @@ -318,6 +316,4 @@ namespace snapper return s << fixed << double(tv.tv_sec) + (double)(tv.tv_usec) / 1000000.0 << "s"; } - const string app_ws = " \t\n"; - }