summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-09 03:41:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-09 03:41:34 +0000
commit500e9b7aa4aa148f86236ff64e5280e50e7ecd1e (patch)
tree00979258f162a1f1c8e81ab2c0cff16c350994ef /nuttx/sched
parent7109c2039470cfc60a375c7478ccebbddb7398a2 (diff)
downloadpx4-nuttx-500e9b7aa4aa148f86236ff64e5280e50e7ecd1e.tar.gz
px4-nuttx-500e9b7aa4aa148f86236ff64e5280e50e7ecd1e.tar.bz2
px4-nuttx-500e9b7aa4aa148f86236ff64e5280e50e7ecd1e.zip
#warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3355 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/env_getenvironptr.c6
-rw-r--r--nuttx/sched/timer_getoverrun.c8
2 files changed, 3 insertions, 11 deletions
diff --git a/nuttx/sched/env_getenvironptr.c b/nuttx/sched/env_getenvironptr.c
index ab7fe9816..8fad450cd 100644
--- a/nuttx/sched/env_getenvironptr.c
+++ b/nuttx/sched/env_getenvironptr.c
@@ -1,7 +1,7 @@
/****************************************************************************
* env_getenvironptr.c
*
- * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -79,10 +79,6 @@ FAR char **get_environ_ptr( void )
* char ** return value.
*/
-#ifdef CONFIG_CPP_HAVE_WARNING
-# warning "get_environ_ptr not Implemented"
-#endif
-
return NULL;
#else
diff --git a/nuttx/sched/timer_getoverrun.c b/nuttx/sched/timer_getoverrun.c
index 07095a13c..6f8c87672 100644
--- a/nuttx/sched/timer_getoverrun.c
+++ b/nuttx/sched/timer_getoverrun.c
@@ -1,7 +1,7 @@
/********************************************************************************
* timer_getoverrun.c
*
- * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -102,11 +102,7 @@
int timer_getoverrun(timer_t timerid)
{
-#ifdef CONFIG_CPP_HAVE_WARNING
-# warning "timer_getoverrun not Implemented"
-#endif
-
- *get_errno_ptr() = ENOSYS;
+ errno = ENOSYS;
return ERROR;
}