From 768537d6e4b82a19e77b7e44234309ecaf4d65d2 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 12 Jul 2026 13:23:54 +0200 Subject: Remove unions --- source/cstdlib.elna | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/cstdlib.elna') diff --git a/source/cstdlib.elna b/source/cstdlib.elna index 696e5dd..32669c1 100644 --- a/source/cstdlib.elna +++ b/source/cstdlib.elna @@ -2,22 +2,22 @@ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. *) -proc malloc(size: Word): Pointer +proc malloc*(size: Word): Pointer extern -proc free(ptr: Pointer) +proc free*(ptr: Pointer) extern -proc calloc(nmemb: Word; size: Word): Pointer +proc calloc*(nmemb: Word; size: Word): Pointer extern -proc realloc(ptr: Pointer; size: Word): Pointer +proc realloc*(ptr: Pointer; size: Word): Pointer extern -proc atoi(str: ^Char): Int +proc atoi*(str: ^Char): Int extern -proc exit(code: Int): ! +proc exit*(code: Int): ! extern end. -- cgit v1.2.3