Re: [Qemu-devel] [PATCH] Make tb_alloc static.

2011-02-10 Thread Aurelien Jarno
On Thu, Feb 10, 2011 at 10:04:57AM +0100, Tristan Gingold wrote: > On Wed, Feb 09, 2011 at 07:52:52PM +0100, Aurelien Jarno wrote: > > > > What about moving tb_alloc() (with tb_free()) higher in the file? After > > all it make sense to have the function creating or destructing a tb > > before the

Re: [Qemu-devel] [PATCH] Make tb_alloc static.

2011-02-10 Thread Tristan Gingold
On Wed, Feb 09, 2011 at 07:52:52PM +0100, Aurelien Jarno wrote: > > What about moving tb_alloc() (with tb_free()) higher in the file? After > all it make sense to have the function creating or destructing a tb > before the function manipulating them. Thanks. Like this ? Tristan. This function

Re: [Qemu-devel] [PATCH] Make tb_alloc static.

2011-02-09 Thread Aurelien Jarno
On Tue, Feb 08, 2011 at 12:22:15PM +0100, Tristan Gingold wrote: > This function is only used within exec.c, so no need to make it public. > > Signed-off-by: Tristan Gingold > --- > exec-all.h |1 - > exec.c |4 +++- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a

[Qemu-devel] [PATCH] Make tb_alloc static.

2011-02-08 Thread Tristan Gingold
This function is only used within exec.c, so no need to make it public. Signed-off-by: Tristan Gingold --- exec-all.h |1 - exec.c |4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exec-all.h b/exec-all.h index 81497c0..c062693 100644 --- a/exec-all.h +++ b/exec