diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-03 09:11:25 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-03 09:11:25 -0600 |
commit | 83acc8b8a304ea02e954b033c706767e0f28a02e (patch) | |
tree | 6f6790ba4aeb1256858111d9f623a441aeb8563e /apps/interpreters/bas/value.c | |
parent | b617ac1c3e500d248fa7afd583ddbf1660aeb567 (diff) | |
download | nuttx-83acc8b8a304ea02e954b033c706767e0f28a02e.tar.gz nuttx-83acc8b8a304ea02e954b033c706767e0f28a02e.tar.bz2 nuttx-83acc8b8a304ea02e954b033c706767e0f28a02e.zip |
BAS: Remove config.h and INSTALL files. Add config options to Kconfig
Diffstat (limited to 'apps/interpreters/bas/value.c')
-rw-r--r-- | apps/interpreters/bas/value.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/apps/interpreters/bas/value.c b/apps/interpreters/bas/value.c index e4e31656b..7f7258a3b 100644 --- a/apps/interpreters/bas/value.c +++ b/apps/interpreters/bas/value.c @@ -60,7 +60,7 @@ * Included Files ****************************************************************************/ -#include "config.h" +#include <nuttx/config.h> #include <assert.h> #include <ctype.h> @@ -83,12 +83,6 @@ #define _(String) String /**************************************************************************** - * Public Function Prototypes - ****************************************************************************/ - -extern long int lrint(double x); - -/**************************************************************************** * Private Data ****************************************************************************/ @@ -116,13 +110,6 @@ const enum ValueType Value_commonType[V_VOID + 1][V_VOID + 1] = { 0, V_ERROR, V_ERROR, V_ERROR, V_ERROR, V_ERROR, V_ERROR } }; -#ifndef HAVE_LRINT -long int lrint(double d) -{ - return d; -} -#endif - /**************************************************************************** * Private Functions ****************************************************************************/ @@ -2103,3 +2090,8 @@ struct Value *Value_nullValue(enum ValueType type) return (struct Value *)0; } + +long int lrint(double d) +{ + return d; +} |