summaryrefslogtreecommitdiff
path: root/parse/use.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse/use.c')
-rw-r--r--parse/use.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/parse/use.c b/parse/use.c
index 906e59b..cf9ba90 100644
--- a/parse/use.c
+++ b/parse/use.c
@@ -1189,6 +1189,15 @@ readuse(Node *use, Stab *st, Vis vis)
free(p);
}
+void
+loaduses(void)
+{
+ size_t i;
+
+ for (i = 0; i < file->file.nuses; i++)
+ readuse(file->file.uses[i], file->file.globls, Visintern);
+}
+
/* Usefile format:
* U<pkgname>
* L<liblist>