Move string functions/utils from HAL to std/string
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#include "sysdefs/proc.h"
|
||||
#include "sysdefs/time.h"
|
||||
#include "dev/dev.h"
|
||||
#include "std/string.h"
|
||||
|
||||
#define PROC_NAME_MAX 0x100
|
||||
|
||||
@ -90,7 +91,7 @@ void proc_kill(Proc *proc);
|
||||
#define PROC_ARG(proc, str) \
|
||||
do { \
|
||||
ProcArg *__arg = dlmalloc(sizeof(*__arg)); \
|
||||
hal_strcpy(__arg->string, (str)); \
|
||||
strcpy(__arg->string, (str)); \
|
||||
LL_APPEND((proc)->procargs.list, __arg); \
|
||||
(proc)->procargs.len++; \
|
||||
} while(0)
|
||||
|
||||
Reference in New Issue
Block a user