[sheepdog] [PATCH 2/8] move functions used by libsheepdog.a out of util.c
Liu Yuan
namei.unix at gmail.com
Wed Apr 8 04:18:52 CEST 2015
On Wed, Apr 08, 2015 at 01:21:05AM +0900, Hitoshi Mitake wrote:
> At Fri, 3 Apr 2015 11:20:48 +0800,
> Liu Yuan wrote:
> >
> > From: Liu Yuan <liuyuan at cmss.chinamobile.com>
> >
> > This is a prepation patch to make util.c self-contained and then can be used
> > outside sheep.
> >
> > Signed-off-by: Liu Yuan <liuyuan at cmss.chinamobile.com>
> > ---
> > dog/common.c | 25 +++++
> > dog/dog.h | 5 +
> > include/Makefile.am | 3 +-
> > include/util.h | 18 ----
> > lib/Makefile.am | 3 +-
> > lib/common.c | 279 +++++++++++++++++++++++++++++++++++++++++++++++++++
> > lib/logger.c | 1 +
> > lib/util.c | 282 ----------------------------------------------------
> > sheep/cluster.h | 1 +
> > sheep/sheep_priv.h | 1 +
> > sheepfs/core.c | 1 +
> > shepherd/shepherd.c | 1 +
> > 12 files changed, 318 insertions(+), 302 deletions(-)
> > create mode 100644 lib/common.c
>
> This patch cannot be built even without 8th. Error message is:
> CC logger.o
> logger.c:39:20: fatal error: common.h: No such file or directory
> #include "common.h"
>
> common.h might be forgotten.
Ehhh, I'll update it in v2.
Thanks,
Yuan
More information about the sheepdog
mailing list