[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1 of 2] tools/libxl: rename libxl__yajl_gen_alloc
On Thu, 2012-02-09 at 12:52 +0000, Olaf Hering wrote: > # HG changeset patch > # User Olaf Hering <olaf@xxxxxxxxx> > # Date 1328791447 -3600 > # Node ID 85fcc1d0f072c4f9d1e8f13b8bb2634228a16f6c > # Parent 8ba7ae0b070b4de93fc033067c61714c202d64c1 > tools/libxl: rename libxl__yajl_gen_alloc > > libxl__yajl_gen_alloc() is called by generic code, > rename it to libx__yajl_gen_alloc(). Other than this typo both patches in this series look good to me, thanks. Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> > > Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> > > diff -r 8ba7ae0b070b -r 85fcc1d0f072 tools/libxl/libxl_json.c > --- a/tools/libxl/libxl_json.c > +++ b/tools/libxl/libxl_json.c > @@ -813,7 +813,7 @@ char *libxl__object_to_json(libxl_ctx *c > yajl_gen_status s; > yajl_gen hand; > > - hand = libxl__yajl_gen_alloc(NULL); > + hand = libxl_yajl_gen_alloc(NULL); > if (!hand) > return NULL; > > diff -r 8ba7ae0b070b -r 85fcc1d0f072 tools/libxl/libxl_json.h > --- a/tools/libxl/libxl_json.h > +++ b/tools/libxl/libxl_json.h > @@ -40,7 +40,7 @@ static inline yajl_handle libxl__yajl_al > return yajl_alloc(callbacks, allocFuncs, ctx); > } > > -static inline yajl_gen libxl__yajl_gen_alloc(const yajl_alloc_funcs > *allocFuncs) > +static inline yajl_gen libxl_yajl_gen_alloc(const yajl_alloc_funcs > *allocFuncs) > { > return yajl_gen_alloc(allocFuncs); > } > @@ -62,7 +62,7 @@ static inline yajl_handle libxl__yajl_al > return yajl_alloc(callbacks, &cfg, allocFuncs, ctx); > } > > -static inline yajl_gen libxl__yajl_gen_alloc(const yajl_alloc_funcs > *allocFuncs) > +static inline yajl_gen libxl_yajl_gen_alloc(const yajl_alloc_funcs > *allocFuncs) > { > yajl_gen_config conf = { 1, " " }; > return yajl_gen_alloc(&conf, allocFuncs); > diff -r 8ba7ae0b070b -r 85fcc1d0f072 tools/libxl/libxl_qmp.c > --- a/tools/libxl/libxl_qmp.c > +++ b/tools/libxl/libxl_qmp.c > @@ -461,7 +461,7 @@ static char *qmp_send_prepare(libxl__gc > yajl_gen hand; > callback_id_pair *elm = NULL; > > - hand = libxl__yajl_gen_alloc(NULL); > + hand = libxl_yajl_gen_alloc(NULL); > > if (!hand) { > return NULL; > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |