aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/cc')
-rw-r--r--sys/cmd/cc/cc.c2
-rw-r--r--sys/cmd/cc/lex.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/cmd/cc/cc.c b/sys/cmd/cc/cc.c
index 3602643..8ad0022 100644
--- a/sys/cmd/cc/cc.c
+++ b/sys/cmd/cc/cc.c
@@ -397,7 +397,7 @@ main(int argc, byte *argv[])
// NOTE: This is just for my comfort during debugging.
pushinclude("/home/nolln/root/include");
pushinclude("/home/nolln/root/include/vendor/libc");
-
+
src = (argc == 0) ? "<stdin>" : argv[0];
intern(&src);
diff --git a/sys/cmd/cc/lex.c b/sys/cmd/cc/lex.c
index 0963fb9..33fc5d0 100644
--- a/sys/cmd/cc/lex.c
+++ b/sys/cmd/cc/lex.c
@@ -813,7 +813,7 @@ static
int
moresymtab(SymTab *tab, int n)
{
- MAP_GROW(tab, string, Sym*, n, PTR_HASH, ·calloc, ·free, nil);
+ MAP_GROW(tab, string, Sym*, n, PTR_HASH, sys·Memory, nil);
}
static