aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/hyper.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-04-01 01:53:29 +0000
committerdos-reis <gdr@axiomatics.org>2013-04-01 01:53:29 +0000
commit3a4195e4293dce547f9fd671063d9b65ca14cc56 (patch)
tree503e7c0a091920be1626452a1a9ddd4def926836 /src/hyper/hyper.c
parent86c534a99a9eda6be04595e2fecc433e51ddaed2 (diff)
downloadopen-axiom-3a4195e4293dce547f9fd671063d9b65ca14cc56.tar.gz
More C cleanups
Diffstat (limited to 'src/hyper/hyper.c')
-rw-r--r--src/hyper/hyper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hyper/hyper.c b/src/hyper/hyper.c
index e88f63f0..f306e0b8 100644
--- a/src/hyper/hyper.c
+++ b/src/hyper/hyper.c
@@ -52,6 +52,7 @@
#include <locale.h>
#include "debug.h"
+#include "cfuns.h"
#include "sockio.h"
#include "hyper.h"
#include "lex.h"
@@ -196,11 +197,12 @@ clean_socket(void )
int
main(int argc, char **argv)
{
+ using namespace OpenAxiom;
int ret_status;
/* Initialize some global values */
/* fprintf(stderr,"hyper:main:entered\n");*/
- putenv("LC_ALL=C");
+ oa_setenv("LC_ALL", "C");
setlocale(LC_ALL, "");
gArgc = argc;
gArgv = argv;