summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
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) {