On Thu, Sep 03, 2015 at 11:46:49AM +0200, Jakub Jelinek wrote:
> On Tue, Jul 28, 2015 at 01:04:57PM +0200, Sebastian Huber wrote:
> > libgomp/ChangeLog
> > 2015-07-28  Sebastian Huber  <sebastian.hu...@embedded-brains.de>
> > 
> >     * config/rtems/bar.c: New.
> >     * config/rtems/bar.h: Likewise.
> >     * config/rtems/mutex.c: Likewise.
> >     * config/rtems/mutex.h: Likewise.
> >     * config/rtems/sem.c: Likewise.
> >     * config/rtems/sem.h: Likewise.
> >     * configure.ac (*-*-rtems*): Check that Newlib provides a proper
> >     <sys/lock.h> header file.
> >     * configure.tgt (*-*-rtems*): Enable RTEMS configuration if
> >     supported by Newlib.
> >     * configure: Regenerate.
> 
> > --- /dev/null
> > +++ b/libgomp/config/rtems/bar.c
> > @@ -0,0 +1,255 @@
> > +
> > +static gomp_barrier_t *
> > +generation_to_barrier(int *addr)
> 
> Missing space before (.

Oh, and please use
#include "libgomp.h"
#include "bar.h"
instead of
#include <libgomp.h>
#include <bar.h>
(to help differentiate system headers from libgomp specific headers).

        Jakub

Reply via email to