Am 28.01.2013 18:04, schrieb Benoît Canet: > Signed-off-by: Benoit Canet <ben...@irqsave.net> > --- > block.c | 2 +- > include/block/block.h | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/block.c b/block.c > index 41a9ac0..843583f 100644 > --- a/block.c > +++ b/block.c > @@ -195,7 +195,7 @@ static void bdrv_io_limits_intercept(BlockDriverState *bs, > } > > /* check if the path starts with "<protocol>:" */ > -static int path_has_protocol(const char *path) > +int path_has_protocol(const char *path)
Please add a prefix when making the function public, like bdrv_path_has_protocol(). Does it really need to be in block.h or would block_int.h suffice? Kevin