summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--alias.c2
-rw-r--r--all.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/alias.c b/alias.c
index 01d77e8..19aca2a 100644
--- a/alias.c
+++ b/alias.c
@@ -1,6 +1,6 @@
 #include "all.h"
 
-static void
+void
 getalias(Alias *a, Ref r, Fn *fn)
 {
 	Con *c;
diff --git a/all.h b/all.h
index 43cdd62..8dd4276 100644
--- a/all.h
+++ b/all.h
@@ -518,6 +518,7 @@ void memopt(Fn *);
 
 /* alias.c */
 void fillalias(Fn *);
+void getalias(Alias *, Ref, Fn *);
 int alias(Ref, int, Ref, int, int *, Fn *);
 int escapes(Ref, Fn *);