[sheepdog] [PATCH v2] sheep: add a helper function to copy out data from strbuf

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed May 30 15:19:55 CEST 2012


At Wed, 30 May 2012 14:46:45 +0800,
Liu Yuan wrote:
> 
> On 05/29/2012 11:35 PM, MORITA Kazutaka wrote:
> 
> > This patch also fixes a problem that local_get_store_list() doesn't
> > set a null terminated string.
> 
> 
> Get strange compiling warning, which by code shouldn't happen...
> ...
> ops.c: In function ‘local_get_store_list’:
> ops.c:317: warning: implicit declaration of function ‘strbuf_copyout’
>   CC     recovery.o
> recovery.c: In function ‘screen_obj_list’:
> recovery.c:559: warning: implicit declaration of function ‘strbuf_copyout’
>   CC     local.o
>   CC     object_cache.o
> object_cache.c: In function ‘object_cache_init’:
> object_cache.c:756: warning: implicit declaration of function
> ‘strbuf_copyout’
> ...

I can compile without any warnings.  'make clean; make' doesn't work
for you?

Thanks,

Kazutaka



More information about the sheepdog mailing list