small consistency fix in linux.sl

This commit is contained in:
IgorCielniak
2026-03-13 19:49:56 +01:00
parent fd115f31dc
commit 2193e0bf3c
2 changed files with 6 additions and 6 deletions

View File

@@ -3,9 +3,9 @@
# Linux syscall constants + convenience wrappers for L2
# File descriptor constants
macro fd_stdin 0 0 ;
macro fd_stdout 0 1 ;
macro fd_stderr 0 2 ;
macro FD_STDIN 0 0 ;
macro FD_STDOUT 0 1 ;
macro FD_STDERR 0 2 ;
# Common open(2) flags
macro O_RDONLY 0 0 ;

View File

@@ -65,9 +65,9 @@ def _emit_header(lines: list[str]) -> None:
"# Linux syscall constants + convenience wrappers for L2",
"",
"# File descriptor constants",
"macro fd_stdin 0 0 ;",
"macro fd_stdout 0 1 ;",
"macro fd_stderr 0 2 ;",
"macro FD_STDIN 0 0 ;",
"macro FD_STDOUT 0 1 ;",
"macro FD_STDERR 0 2 ;",
"",
"# Common open(2) flags",
"macro O_RDONLY 0 0 ;",