Version 1.6.2.
authorMilan Broz <gmazyland@gmail.com>
Sun, 4 Aug 2013 16:36:09 +0000 (18:36 +0200)
committerMilan Broz <gmazyland@gmail.com>
Sun, 4 Aug 2013 17:01:55 +0000 (19:01 +0200)
configure.ac
lib/utils_devpath.c
tests/api-test.c

index 325735d..3caef1d 100644 (file)
@@ -1,5 +1,5 @@
 AC_PREREQ([2.67])
-AC_INIT([cryptsetup],[1.6.2-git])
+AC_INIT([cryptsetup],[1.6.2])
 
 dnl library version from <major>.<minor>.<release>[-<suffix>]
 LIBCRYPTSETUP_VERSION=$(echo $PACKAGE_VERSION | cut -f1 -d-)
index 7007f18..e08a87c 100644 (file)
 #include <limits.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include "utils_dm.h"
-
-char *crypt_lookup_dev(const char *dev_id);
-int crypt_sysfs_get_rotational(int major, int minor, int *rotational);
+#include "internal.h"
 
 static char *__lookup_dev(char *path, dev_t dev, int dir_level, const int max_level)
 {
index b359ca1..5607f8d 100644 (file)
@@ -538,8 +538,8 @@ static void xlog(const char *msg, const char *tst, const char *func, int line, c
 #define FAIL_(x, y)    do { xlog("(fail)   ", #x, __FUNCTION__, __LINE__, y); \
                             check_ko((x), __LINE__, __FUNCTION__); \
                        } while(0)
-#define EQ_(x, y)      do { xlog("(equal)  ", #x " == " #y, __FUNCTION__, __LINE__, NULL); \
-                            int64_t _x = (x), _y = (y); \
+#define EQ_(x, y)      do { int64_t _x = (x), _y = (y); \
+                            xlog("(equal)  ", #x " == " #y, __FUNCTION__, __LINE__, NULL); \
                             if (_x != _y) check_equal(__LINE__, __FUNCTION__, _x, _y); \
                        } while(0)
 #define RUN_(x, y)             do { printf("%s: %s\n", #x, (y)); x(); } while (0)