aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/ir.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-15 21:46:24 +0100
committerlemon <lsof@mailbox.org>2025-12-15 21:46:24 +0100
commitc6c0f2ef35175075e91169113cfe856f29b3eb9a (patch)
tree65dc85d7b2845a4e1145ac9d6ffd26fbb2482e8e /ir/ir.c
parentbf0f2805b5aec7f4fa5fb4ff1a4da081a0112e4e (diff)
move intern() to mem.c
Being in lex.c was vestigial, since it was being used all over the frontend and backend.
Diffstat (limited to 'ir/ir.c')
-rw-r--r--ir/ir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ir/ir.c b/ir/ir.c
index 13b309d..d932121 100644
--- a/ir/ir.c
+++ b/ir/ir.c
@@ -152,7 +152,6 @@ mkdatref(const char *name, union type ctype, uint siz, uint align, const void *b
assert(n <= siz && siz && align);
if (!name) {
- extern const char *intern(const char *);
char buf[32];
struct wbuf wbuf = MEMBUF(buf, sizeof buf);