include/loopdev.h: add missing function prototype
PATCH 1/1 include/loopdev.h: add missing function prototype
Signed-off-by Dave Reisner <[email protected]>
---
This is only used internally by lib/loopdev.c, but based on the name/purpose, it seems like this function was meant to be exposed in the header rather than declared static.
include/loopdev.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
include/loopdev.h +1 -0
@@ -132,6 +132,7 @@ extern int loopcxt_set_device(struct loopdev_cxt *lc, const char *device);extern char *loopcxt_strdup_device (struct loopdev_cxt *lc);extern const char *loopcxt_get_device (struct loopdev_cxt *lc);extern struct sysfs_cxt *loopcxt_get_sysfs (struct loopdev_cxt *lc); +extern struct loop_info64 *loopcxt_get_info (struct loopdev_cxt *lc);extern int loopcxt_get_fd (struct loopdev_cxt *lc);extern int loopcxt_set_fd (struct loopdev_cxt *lc,int fd,int mode);
Signature · 1 line
1.7.7
Quoted 2 lines · Dave Reisner
include/loopdev.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com