Separate loop handling from internal code.

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@444 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
Milan Broz
2011-03-12 20:23:16 +00:00
parent d9ba34693f
commit be3448fb8a
5 changed files with 18 additions and 11 deletions

View File

@@ -19,15 +19,14 @@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <linux/loop.h>
#include "internal.h"
#define LOOP_DEV_MAJOR 7
#include "utils_loop.h"
char *crypt_loop_get_device(void)
{