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/bas.c | |
parent | a6c6119c811c117bbeda3edb6a82bd310b0ac3e6 (diff) | |
download | px4-nuttx-b617ac1c3e500d248fa7afd583ddbf1660aeb567.tar.gz px4-nuttx-b617ac1c3e500d248fa7afd583ddbf1660aeb567.tar.bz2 px4-nuttx-b617ac1c3e500d248fa7afd583ddbf1660aeb567.zip |
Remove dependencies on environ, fstat, GETTEXt, TERMCAP, ncurse, syscfg
Diffstat (limited to 'apps/interpreters/bas/bas.c')
-rw-r--r-- | apps/interpreters/bas/bas.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/apps/interpreters/bas/bas.c b/apps/interpreters/bas/bas.c index e81b0f34d..c60c127d1 100644 --- a/apps/interpreters/bas/bas.c +++ b/apps/interpreters/bas/bas.c @@ -11,12 +11,6 @@ #include <ctype.h> #include <errno.h> #include <fcntl.h> -#ifdef HAVE_GETTEXT -# include <libintl.h> -# define _(String) gettext(String) -#else -# define _(String) String -#endif #include <limits.h> #include <math.h> #include <string.h> @@ -41,9 +35,7 @@ ****************************************************************************/ #define DIRECTMODE (pc.line== -1) -#ifndef __GNUC__ -# define inline -#endif +#define _(String) String /**************************************************************************** * Private Types @@ -1862,10 +1854,6 @@ more: void bas_init(int backslash_colon, int restricted, int uppercase, int lpfd) { -#ifdef HAVE_GETTEXT - bindtextdomain("bas", LOCALEDIR); - textdomain("bas"); -#endif stack.begindata.line = -1; Token_init(backslash_colon, uppercase); Global_new(&globals); |