aboutsummaryrefslogtreecommitdiff
path: root/tccgen.c
diff options
context:
space:
mode:
authorgrischka <grischka>2009-12-20 20:33:41 +0100
committergrischka <grischka>2009-12-20 20:33:41 +0100
commit0de95730ad2991479f44ea4afe83e8861c9c3ca0 (patch)
tree4341faa8c797475938d8356981a913b37e3ef9bd /tccgen.c
parentb54862406e186386f08b4d95fd3fc7686ef51463 (diff)
downloadtinycc-0de95730ad2991479f44ea4afe83e8861c9c3ca0.tar.gz
tinycc-0de95730ad2991479f44ea4afe83e8861c9c3ca0.tar.bz2
build from multiple objects: fix other targets
Diffstat (limited to 'tccgen.c')
-rw-r--r--tccgen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tccgen.c b/tccgen.c
index 363e6f9..b608c1f 100644
--- a/tccgen.c
+++ b/tccgen.c
@@ -364,7 +364,7 @@ static Sym *external_sym(int v, CType *type, int r)
}
/* push a reference to global symbol v */
-static void vpush_global_sym(CType *type, int v)
+ST_FUNC void vpush_global_sym(CType *type, int v)
{
Sym *sym;
CValue cval;
@@ -897,7 +897,7 @@ static void vrotb(int n)
/* rotate n first stack elements to the top
I1 ... In -> In I1 ... I(n-1) [top is right]
*/
-static void vrott(int n)
+ST_FUNC void vrott(int n)
{
int i;
SValue tmp;
@@ -912,7 +912,7 @@ static void vrott(int n)
/* like vrott but in other direction
In ... I1 -> I(n-1) ... I1 In [top is right]
*/
-void vnrott(int n)
+ST_FUNC void vnrott(int n)
{
int i;
SValue tmp;