On Wed, Jun 15, 2016 at 1:30 AM, Sebastian Huber <sebastian.hu...@embedded-brains.de> wrote: > > > On 14/06/16 17:05, Joel Sherrill wrote: >> >> +int pthread_condattr_getclock( >> + const pthread_condattr_t *__restrict attr, >> + clockid_t *__restrict clock >> +) >> +{ >> + if ( !attr ) { >> + return EINVAL; >> + } > > > https://devel.rtems.org/wiki/Developer/Coding/Conventions > > "Use NULL for the null pointer, and prefer to use explicit checks against > NULL, e.g. 'if ( ptr != NULL )' instead of 'if ( !ptr )'. " > Otherwise, this looked fine to me.
> -- > Sebastian Huber, embedded brains GmbH > > Address : Dornierstr. 4, D-82178 Puchheim, Germany > Phone : +49 89 189 47 41-16 > Fax : +49 89 189 47 41-09 > E-Mail : sebastian.hu...@embedded-brains.de > PGP : Public key available on request. > > Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. > > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel