Move defines from header.

This commit is contained in:
Milan Broz
2012-06-09 23:26:45 +02:00
parent e2375c8368
commit db51a343de
5 changed files with 5 additions and 5 deletions

View File

@@ -1141,7 +1141,6 @@ int crypt_format(struct crypt_device *cd,
else if (isVERITY(type))
r = _crypt_format_verity(cd, uuid, params);
else {
/* FIXME: allow plugins here? */
log_err(cd, _("Unknown crypt device type %s requested.\n"), type);
r = -EINVAL;
}

View File

@@ -32,6 +32,8 @@
#include "verity.h"
#include "internal.h"
#define VERITY_SIGNATURE "verity\0\0"
#define NEW_SB 1
#ifndef NEW_SB

View File

@@ -23,9 +23,6 @@
#include <unistd.h>
#include "config.h"
#define VERITY_SIGNATURE "verity\0\0"
#define VERITY_MAX_LEVELS 63
struct crypt_device;
struct crypt_params_verity;

View File

@@ -26,6 +26,8 @@
#include "verity.h"
#include "internal.h"
#define VERITY_MAX_LEVELS 63
static unsigned get_bits_up(size_t u)
{
unsigned i = 0;

View File

@@ -31,7 +31,7 @@
#define PACKAGE_VERITY "veritysetup"
static int use_superblock = 1; /* FIXME: no superblock not supported */
static int use_superblock = 1;
static const char *hash_algorithm = NULL;
static int hash_type = 1;