On Fri, Jul  7, 2017 at 22:41:06 +0200, Jan Beich wrote:

> Julien Cristau <jcris...@debian.org> writes:
> 
> > On Fri, Jul  7, 2017 at 16:31:48 +0200, Jan Beich wrote:
> >> -  flags = fcntl(fd, F_GETFD);
> >> +#ifndef HAVE_MKOSTEMP
> >> +  int flags = fcntl(fd, F_GETFD);
> >
> > Do we allow mixed declarations and code nowadays?
> 
> xserver has quite a few of those already, even in Xext/shm.c e.g.,
> 
Those examples are all at the beginning of a block, so they don't count
:)

Anyway, I think
https://cgit.freedesktop.org/xorg/xserver/tree/doc/c-extensions#n35
answers my question, so it's fine.

Cheers,
Julien
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to