summaryrefslogtreecommitdiff
path: root/utils/kc/swt.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/kc/swt.c')
-rw-r--r--utils/kc/swt.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/utils/kc/swt.c b/utils/kc/swt.c
index 05727dd8..14e155c9 100644
--- a/utils/kc/swt.c
+++ b/utils/kc/swt.c
@@ -235,22 +235,6 @@ loop:
goto loop;
}
-void
-sextern(Sym *s, Node *a, long o, long w)
-{
- long e, lw;
-
- for(e=0; e<w; e+=NSNAME) {
- lw = NSNAME;
- if(w-e < lw)
- lw = w-e;
- gpseudo(ADATA, s, nodconst(0));
- p->from.offset += o+e;
- p->reg = lw;
- p->to.type = D_SCONST;
- memmove(p->to.sval, a->cstring+e, lw);
- }
-}
void
gextern(Sym *s, Node *a, long o, long w)