diff --git a/src/stdint.h b/src/stdint.h deleted file mode 100644 index 30aa547..0000000 --- a/src/stdint.h +++ /dev/null @@ -1,17 +0,0 @@ -#pragma once - -typedef signed char int8_t; -typedef unsigned char uint8_t; - -typedef signed short int16_t; -typedef unsigned short uint16_t; - -typedef signed long int int32_t; -typedef unsigned long int uin32_t; - -typedef signed long long int int64_t; -typedef unsigned long long int uin64_t; - -#define bool uint8_t; -#define true 1 -#define false 0 \ No newline at end of file diff --git a/src/string.c b/src/string.c index 0366ec7..b5e6a01 100644 --- a/src/string.c +++ b/src/string.c @@ -1,3 +1,5 @@ +#include "string.h" + int strcmp(const char* a, const char* b) { while ((*a != '\0' && *b != '\0') && *a == *b) diff --git a/src/vga.h b/src/vga.h index 75c38b3..43c6804 100644 --- a/src/vga.h +++ b/src/vga.h @@ -1,6 +1,6 @@ #pragma once -#include "stdint.h" +#include #define VGA_BLACK 0 #define VGA_BLUE 1