Switch: to freestanding stdint and stdbool headers

This commit is contained in:
xamidev
2024-08-24 16:26:14 +02:00
parent 0146613ce7
commit a03bb42790
26 changed files with 31 additions and 48 deletions

View File

@@ -1,9 +1,10 @@
#ifndef SYSTEM_H
#define SYSTEM_H
#include "../libc/stdint.h"
#include <stdint.h>
typedef int size_t;
#define NULL ((void*)0)
void *memset(void *dest, char val, size_t count);
void *memmove(void* dest, const void* src, size_t n);