Remove hints for old kernels.
[platform/upstream/cryptsetup.git] / lib / utils_loop.h
index 9b97a3e..13a2d67 100644 (file)
@@ -3,15 +3,11 @@
 
 /* loopback device helpers */
 
-#define LOOP_DEV_MAJOR 7
-
-#ifndef LO_FLAGS_AUTOCLEAR
-#define LO_FLAGS_AUTOCLEAR 4
-#endif
-
 char *crypt_loop_get_device(void);
 char *crypt_loop_backing_file(const char *loop);
 int crypt_loop_device(const char *loop);
-int crypt_loop_attach(const char *loop, const char *file, int offset, int *readonly);
+int crypt_loop_attach(const char *loop, const char *file, int offset,
+                     int autoclear, int *readonly);
+int crypt_loop_detach(const char *loop);
 
-#endif /* _UTILS_CRYPT_H */
+#endif /* _UTILS_LOOP_H */