aboutsummaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-04-19 12:13:30 +0200
committerAlex Auvolat <alex@adnab.me>2017-04-19 12:13:30 +0200
commitd4a89538d381bb62b4c7c864b09d3d8274cf0bdb (patch)
treedb9f4e0066eddd7661eaf92375e84d584c64d987 /src/lib/libc/stdlib.c
parent8e88e765ee17296a85c5ae372471ed248ce321db (diff)
downloadkogata-d4a89538d381bb62b4c7c864b09d3d8274cf0bdb.tar.gz
kogata-d4a89538d381bb62b4c7c864b09d3d8274cf0bdb.zip
First code for lx (Lua eXtended)
Diffstat (limited to 'src/lib/libc/stdlib.c')
-rw-r--r--src/lib/libc/stdlib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib.c b/src/lib/libc/stdlib.c
index 6b200c2..fa9d468 100644
--- a/src/lib/libc/stdlib.c
+++ b/src/lib/libc/stdlib.c
@@ -76,10 +76,6 @@ double strtod(const char *nptr, char **endptr) {
}
char *getenv(const char *name) {
- // HACK
- if (!strcmp(name, "LUA_INIT")) {
- return "require 'init'";
- }
// TODO
return 0;
}