Re: [Spice-devel] Function definition style

2016-10-11 Thread Christophe Fergeau
On Mon, Oct 10, 2016 at 04:41:02PM -0500, Jonathon Jongsma wrote: > > > > In spice-gtk we use both style, I don't mind, but I have a slight > > preference for the first. > > > > declarations are however almost always > > > > static void function_name(type name); > > > > in short, I like

Re: [Spice-devel] Function definition style

2016-10-10 Thread Jonathon Jongsma
On Mon, 2016-10-10 at 14:11 -0400, Marc-André Lureau wrote: > Hi > > - Original Message - > > > > Hi, > > > > On Mon, Oct 10, 2016 at 12:54:26PM -0400, Frediano Ziglio wrote: > > > > > > Hi, > > >   I noted that in recent patches we started using this style: > > > > > > static void >

Re: [Spice-devel] Function definition style

2016-10-10 Thread Marc-André Lureau
Hi - Original Message - > Hi, > > On Mon, Oct 10, 2016 at 12:54:26PM -0400, Frediano Ziglio wrote: > > Hi, > > I noted that in recent patches we started using this style: > > > > static void > > function_name(type name) > > { > > } > > > > instead of the "classic" (in our code) > >

Re: [Spice-devel] Function definition style

2016-10-10 Thread Victor Toso
Hi, On Mon, Oct 10, 2016 at 12:54:26PM -0400, Frediano Ziglio wrote: > Hi, > I noted that in recent patches we started using this style: > > static void > function_name(type name) > { > } > > instead of the "classic" (in our code) > > static void function_name(type name) > { > } > >

[Spice-devel] Function definition style

2016-10-10 Thread Frediano Ziglio
Hi, I noted that in recent patches we started using this style: static void function_name(type name) { } instead of the "classic" (in our code) static void function_name(type name) { } Personally I like the first and I don't complain (and other people seems to not complain too) however