summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-28 19:11:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-28 19:11:48 +0000
commitb0708612631a72cd290c0925b80c0b65448d3e36 (patch)
tree08e4cb699ee844bd9a4c066cf8fb1861a252e020 /nuttx/arch/sim
parent1817773ede93ba7ad867c1309f5c23fd7043957a (diff)
downloadpx4-nuttx-b0708612631a72cd290c0925b80c0b65448d3e36.tar.gz
px4-nuttx-b0708612631a72cd290c0925b80c0b65448d3e36.tar.bz2
px4-nuttx-b0708612631a72cd290c0925b80c0b65448d3e36.zip
Remove some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3992 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim')
-rw-r--r--nuttx/arch/sim/src/up_touchscreen.c3
-rw-r--r--nuttx/arch/sim/src/up_x11eventloop.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/nuttx/arch/sim/src/up_touchscreen.c b/nuttx/arch/sim/src/up_touchscreen.c
index a4c6be1cb..277bfb739 100644
--- a/nuttx/arch/sim/src/up_touchscreen.c
+++ b/nuttx/arch/sim/src/up_touchscreen.c
@@ -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 */
diff --git a/nuttx/arch/sim/src/up_x11eventloop.c b/nuttx/arch/sim/src/up_x11eventloop.c
index a21f895c9..5c449b739 100644
--- a/nuttx/arch/sim/src/up_x11eventloop.c
+++ b/nuttx/arch/sim/src/up_x11eventloop.c
@@ -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