mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:57:35 +00:00
Make kernel build with clang.
It's a bit faster than g++ and seems to generate perfectly fine code. The kernel is also roughly 10% smaller(!)
This commit is contained in:
parent
7b3b5f745f
commit
ebf308d413
10 changed files with 40 additions and 27 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#include "types.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
void memcpy(void*, const void*, DWORD);
|
||||
void strcpy(char*, const char*);
|
||||
int strcmp(char const*, const char*);
|
||||
|
@ -10,3 +12,5 @@ void *memset(void*, BYTE, DWORD);
|
|||
char *strdup(const char*);
|
||||
int memcmp(const void*, const void*, size_t);
|
||||
char* strrchr(const char* str, int ch);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue