Remove hints for old kernels.
[platform/upstream/cryptsetup.git] / lib / utils_loop.h
index 54b533e..13a2d67 100644 (file)
@@ -3,11 +3,11 @@
 
 /* loopback device helpers */
 
-#define LOOP_DEV_MAJOR 7
-
 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 */