Skip to contentSkip to conversation

include/loopdev.h: add missing function prototype

PATCH Applied Dave Reisner 2 participants 2 messages Oct 11, 2011 – Oct 12, 2011 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/loopdev.h: add missing function prototype

---
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
index e25aa96..2c8db17 100644
@@ -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
maintainer Applied
#1 lore raw
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