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

Liu Yuan namei.unix at gmail.com
Wed May 30 08:46:45 CEST 2012


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’
...




More information about the sheepdog mailing list