forked from nuttx/nuttx-update
Eliminate some warnings found in build testing.
This commit is contained in:
parent
6a13faf702
commit
700f1a8e8c
8 changed files with 10 additions and 4 deletions
|
@ -72,10 +72,11 @@
|
|||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <arch/irq.h>
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/semapore.h>
|
||||
#include <nuttx/spi/spi.h>
|
||||
|
||||
#include <arch/irq.h>
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
|
|
|
@ -45,7 +45,9 @@
|
|||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/semapore.h>
|
||||
#include <nuttx/spi/spi.h>
|
||||
|
||||
#include <arch/irq.h>
|
||||
#include <arch/board/board.h>
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include <semaphore.h>
|
||||
#include <queue.h>
|
||||
|
||||
#include <nuttx/semapore.h>
|
||||
#include <nuttx/clock.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* drivers/power/pm_initialize.c
|
||||
*
|
||||
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2011-2012, 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -41,6 +41,7 @@
|
|||
|
||||
#include <semaphore.h>
|
||||
|
||||
#include <nuttx/semapore.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
|
||||
#include "pm.h"
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/semapore.h>
|
||||
#include <nuttx/fs/dirent.h>
|
||||
|
||||
#include "rpc.h"
|
||||
|
|
|
@ -45,8 +45,8 @@
|
|||
#include <stdint.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
#include <nuttx/semapore.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
|
||||
#include <nuttx/nx/nx.h>
|
||||
#include <nuttx/nx/nxtk.h>
|
||||
#include <nuttx/nx/nxfonts.h>
|
||||
|
|
|
@ -537,7 +537,6 @@ static inline int vnc_wait_start(int display)
|
|||
|
||||
static inline int vnc_wait_connect(int display)
|
||||
{
|
||||
int errcode;
|
||||
int ret;
|
||||
|
||||
/* Check if there has been a session allocated yet. This is one of the
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/irq.h>
|
||||
#include <nuttx/mm/gran.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue