mirror of
https://github.com/apache/nuttx.git
synced 2026-08-02 20:59:02 +00:00
Remove some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3992 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f745f9fe31
commit
4056dbfe03
2 changed files with 1 additions and 4 deletions
|
|
@ -128,9 +128,6 @@ static int up_sample(FAR struct up_dev_s *priv,
|
|||
FAR struct up_sample_s *sample);
|
||||
static int up_waitsample(FAR struct up_dev_s *priv,
|
||||
FAR struct up_sample_s *sample);
|
||||
static int up_transfer(FAR struct up_dev_s *priv, uint8_t cmd);
|
||||
static void up_worker(FAR void *arg);
|
||||
static int up_interrupt(int irq, FAR void *context);
|
||||
|
||||
/* Character driver methods */
|
||||
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ static void *up_x11eventthread(void *arg)
|
|||
if (ret != GrabSuccess)
|
||||
{
|
||||
fprintf(stderr, "Failed grap pointer\n");
|
||||
return -1;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Then loop forever, waiting for events and processing events as they are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue