summaryrefslogtreecommitdiff
path: root/tnslc/utils/c_wrap_linux.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/utils/c_wrap_linux.tnsl')
-rw-r--r--tnslc/utils/c_wrap_linux.tnsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tnslc/utils/c_wrap_linux.tnsl b/tnslc/utils/c_wrap_linux.tnsl
index 97a93ba..71a5b47 100644
--- a/tnslc/utils/c_wrap_linux.tnsl
+++ b/tnslc/utils/c_wrap_linux.tnsl
@@ -1,9 +1,9 @@
# Must be included at the top of the file
asm "extern malloc, realloc, free, printf, putchar, open, close, read, write, lseek, perror"
-{}uint8 _alert = "Alert!\n\0"
-{}uint8 _dec = "%d\n\0"
-{}uint8 _ptr = "%p\n\0"
+~uint8 _alert = "Alert!\n\0"
+~uint8 _dec = "%d\n\0"
+~uint8 _ptr = "%p\n\0"
~void NULL = 0
@@ -275,5 +275,5 @@ asm "extern malloc, realloc, free, printf, putchar, open, close, read, write, ls
;/
/; print_alert
- _printf(~_alert{0})
+ _printf(_alert)
;/