aboutsummaryrefslogtreecommitdiff
path: root/nuttx/lib
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-06-21 17:01:49 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-06-21 17:01:49 +0000
commitfeda5932896aa944880e06f2f9fad344c71d4ee1 (patch)
tree79a7c68ec041f1efadad8c91aa5e2a14542d437c /nuttx/lib
parent784d71ce4f2d7906b905fbb100251f877aabd90d (diff)
downloadpx4-firmware-feda5932896aa944880e06f2f9fad344c71d4ee1.tar.gz
px4-firmware-feda5932896aa944880e06f2f9fad344c71d4ee1.tar.bz2
px4-firmware-feda5932896aa944880e06f2f9fad344c71d4ee1.zip
RGMP NSH configuration fixes; Move strerror strings to FLASH
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4859 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/lib')
-rw-r--r--nuttx/lib/string/lib_strerror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/lib/string/lib_strerror.c b/nuttx/lib/string/lib_strerror.c
index 61538952d..580974fa6 100644
--- a/nuttx/lib/string/lib_strerror.c
+++ b/nuttx/lib/string/lib_strerror.c
@@ -63,14 +63,14 @@ struct errno_strmap_s
/* This table maps all error numbers to descriptive strings.
* The only assumption that the code makes with regard to this
- * this table is that it is order by error number.
+ * this table is that it is ordered by error number.
*
* The size of this table is quite large. Its size can be
* reduced by eliminating some of the more obscure error
* strings.
*/
-struct errno_strmap_s g_errnomap[] =
+static const struct errno_strmap_s g_errnomap[] =
{
{ EPERM, EPERM_STR },
{ ENOENT, ENOENT_STR },