summaryrefslogtreecommitdiff
path: root/parse/use.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-11-05 21:27:14 -0800
committerOri Bernstein <ori@eigenstate.org>2017-11-05 21:27:14 -0800
commit4e018273cd06542a0605cebd840dbcb8b14ad906 (patch)
tree830242438ff43f1e5ae18841a5b99249c67b4452 /parse/use.c
parent547d6b96e5536f97d161e0a6544344534af3bde2 (diff)
downloadmc-4e018273cd06542a0605cebd840dbcb8b14ad906.tar.gz
Accept the globalness of file.
Diffstat (limited to 'parse/use.c')
-rw-r--r--parse/use.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse/use.c b/parse/use.c
index 28c48f6..9de82a4 100644
--- a/parse/use.c
+++ b/parse/use.c
@@ -52,7 +52,7 @@ static Node **implfix; /* list of impls we need to fix up */
static size_t nimplfix; /* size of replacement list */
void
-addextlibs(Node *file, char **libs, size_t nlibs)
+addextlibs(char **libs, size_t nlibs)
{
size_t i, j;
@@ -751,11 +751,11 @@ findstab(Stab *st, char *pkg)
return NULL;
}
- s = getns(file, pkg);
+ s = getns(pkg);
if (!s) {
s = mkstab(0);
s->name = strdup(pkg);
- putns(file, s);
+ putns(s);
}
return s;
}