* [PATCH] include/loopdev.h: add missing function prototype
@ 2011-10-11 18:27 Dave Reisner
2011-10-12 8:26 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Dave Reisner @ 2011-10-11 18:27 UTC (permalink / raw)
To: util-linux; +Cc: Dave Reisner
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
---
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(-)
diff --git a/include/loopdev.h b/include/loopdev.h
index e25aa96..2c8db17 100644
--- a/include/loopdev.h
+++ b/include/loopdev.h
@@ -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);
--
1.7.7
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] include/loopdev.h: add missing function prototype
2011-10-11 18:27 [PATCH] include/loopdev.h: add missing function prototype Dave Reisner
@ 2011-10-12 8:26 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2011-10-12 8:26 UTC (permalink / raw)
To: Dave Reisner; +Cc: util-linux, Dave Reisner
On Tue, Oct 11, 2011 at 02:27:47PM -0400, Dave Reisner wrote:
> include/loopdev.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-12 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-11 18:27 [PATCH] include/loopdev.h: add missing function prototype Dave Reisner
2011-10-12 8:26 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).