POSIX: code format changes

Changed the code format of the files derived from NuttX to match the code
style of PX4.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-07-30 17:19:55 -07:00
parent f91be99a4e
commit c1317ad463
14 changed files with 410 additions and 429 deletions
+11 -12
View File
@@ -57,21 +57,20 @@
*
************************************************************/
FAR sq_entry_t *sq_remfirst(sq_queue_t *queue)
sq_entry_t *sq_remfirst(sq_queue_t *queue)
{
FAR sq_entry_t *ret = queue->head;
sq_entry_t *ret = queue->head;
if (ret)
{
queue->head = ret->flink;
if (!queue->head)
{
queue->tail = NULL;
}
if (ret) {
queue->head = ret->flink;
ret->flink = NULL;
}
if (!queue->head) {
queue->tail = NULL;
}
return ret;
ret->flink = NULL;
}
return ret;
}