libc: Add stub memory.h header for legacy programs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-07-12 11:24:54 +02:00
parent 9cf35f761f
commit 1091798195
Signed by: apio
GPG Key ID: B8A7D06E42258954

12
libc/include/memory.h Normal file
View File

@ -0,0 +1,12 @@
/* memory.h: Legacy header for string/memory manipulation functions. */
#ifndef _MEMORY_H
#define _MEMORY_H
#warning "memory.h is a legacy header, you should use string.h in new code"
#ifndef _STRING_H
#include <string.h>
#endif
#endif