diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-18 09:25:36 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-18 22:54:00 +0200 |
| commit | 7440060f179e35fe63155a149bb5003c97e12013 (patch) | |
| tree | abdcb8aa74513312b2cc92d4c2b2b986c29fbc03 /source/sys | |
| parent | 81043b67437445dcf83055098490e04cc88ff7ee (diff) | |
| download | elna-7440060f179e35fe63155a149bb5003c97e12013.tar.gz | |
Fix ICE on variable declarations in case branches
Diffstat (limited to 'source/sys')
| -rw-r--r-- | source/sys/posix/stdlib.elna | 3 | ||||
| -rw-r--r-- | source/sys/posix/string.elna | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/source/sys/posix/stdlib.elna b/source/sys/posix/stdlib.elna index 0016d9c..66b383a 100644 --- a/source/sys/posix/stdlib.elna +++ b/source/sys/posix/stdlib.elna @@ -6,4 +6,7 @@ module proc malloc#[T]*(size: Word) -> ^T extern +proc free#[T]*(ptr: ^T) +extern + end. diff --git a/source/sys/posix/string.elna b/source/sys/posix/string.elna index 9994679..b699606 100644 --- a/source/sys/posix/string.elna +++ b/source/sys/posix/string.elna @@ -6,4 +6,7 @@ module proc memset#[T]*(b: ^T; c: Int8; len: Word) -> ^T extern +proc memcpy#[T]*(dst: ^T; src: ^const T; n: Word) -> ^T +extern + end. |
