libc: Add stub memory.h header for legacy programs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9cf35f761f
commit
1091798195
12
libc/include/memory.h
Normal file
12
libc/include/memory.h
Normal 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
|
Loading…
Reference in New Issue
Block a user