summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-24 00:09:29 +0000
committerZuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian>2026-01-24 00:09:29 +0000
commit27d041865d17a4055e7e6b3e297656d6f35a0f3b (patch)
tree8fe0cbd2fecf24a6da3150dc4a2666a1c6dec0c3 /std
parent1991cb62d26b954e54cf13c2d765fb3a0bbaa3ca (diff)
Welcome to 'def' + changed 'const'
Diffstat (limited to 'std')
-rw-r--r--std/fs.zc6
-rw-r--r--std/net.zc4
2 files changed, 5 insertions, 5 deletions
diff --git a/std/fs.zc b/std/fs.zc
index 0b9c158..c3055ad 100644
--- a/std/fs.zc
+++ b/std/fs.zc
@@ -3,9 +3,9 @@ import "./result.zc"
import "./string.zc"
import "./vec.zc"
-const Z_SEEK_SET: int = 0;
-const Z_SEEK_END: int = 2;
-const Z_F_OK: int = 0;
+def Z_SEEK_SET = 0;
+def Z_SEEK_END = 2;
+def Z_F_OK = 0;
// TODO: restructure this tomorrow.
diff --git a/std/net.zc b/std/net.zc
index 326afc4..eacd9d7 100644
--- a/std/net.zc
+++ b/std/net.zc
@@ -9,8 +9,8 @@ import "./core.zc"
import "./result.zc"
import "./string.zc"
-const Z_AF_INET = 2;
-const Z_SOCK_STREAM = 1;
+def Z_AF_INET = 2;
+def Z_SOCK_STREAM = 1;
raw {
static int _z_net_bind(int fd, char *host, int port) {