diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-03 08:33:39 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-03 08:33:39 -0600 |
commit | b617ac1c3e500d248fa7afd583ddbf1660aeb567 (patch) | |
tree | 17d6bff17b8298fc880cd06c03fe0d8cb43eb47d /apps/interpreters/bas/value.c | |
parent | a6c6119c811c117bbeda3edb6a82bd310b0ac3e6 (diff) | |
download | nuttx-b617ac1c3e500d248fa7afd583ddbf1660aeb567.tar.gz nuttx-b617ac1c3e500d248fa7afd583ddbf1660aeb567.tar.bz2 nuttx-b617ac1c3e500d248fa7afd583ddbf1660aeb567.zip |
Remove dependencies on environ, fstat, GETTEXt, TERMCAP, ncurse, syscfg
Diffstat (limited to 'apps/interpreters/bas/value.c')
-rw-r--r-- | apps/interpreters/bas/value.c | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/apps/interpreters/bas/value.c b/apps/interpreters/bas/value.c index d7c591442..e4e31656b 100644 --- a/apps/interpreters/bas/value.c +++ b/apps/interpreters/bas/value.c @@ -66,27 +66,8 @@ #include <ctype.h> #include <errno.h> #include <float.h> - -#ifdef HAVE_GETTEXT -# include <libintl.h> -# define _(String) gettext(String) -#else -# define _(String) String -#endif - #include <limits.h> #include <math.h> - -/* Buggy on some systems */ - -#if 0 -# ifdef HAVE_TGMATH_H -# include <tgmath.h> -# endif -#else -extern long int lrint(double x); -#endif - #include <stdarg.h> #include <stdio.h> #include <stdlib.h> @@ -96,6 +77,18 @@ extern long int lrint(double x); #include "value.h" /**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +#define _(String) String + +/**************************************************************************** + * Public Function Prototypes + ****************************************************************************/ + +extern long int lrint(double x); + +/**************************************************************************** * Private Data ****************************************************************************/ |