mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
refactor(kernel): change Spawn function parameter type from char* to const char*
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
f054e9976a
commit
a333d8aa7c
@ -30,7 +30,7 @@ using namespace Tasking;
|
|||||||
|
|
||||||
namespace Execute
|
namespace Execute
|
||||||
{
|
{
|
||||||
int Spawn(char *Path, const char **argv, const char **envp,
|
int Spawn(const char *Path, const char **argv, const char **envp,
|
||||||
Tasking::PCB *Parent, bool Fork,
|
Tasking::PCB *Parent, bool Fork,
|
||||||
Tasking::TaskCompatibility Compatibility,
|
Tasking::TaskCompatibility Compatibility,
|
||||||
bool Critical)
|
bool Critical)
|
||||||
|
@ -77,7 +77,7 @@ namespace Execute
|
|||||||
BinaryType GetBinaryType(FileNode *Path);
|
BinaryType GetBinaryType(FileNode *Path);
|
||||||
BinaryType GetBinaryType(std::string Path);
|
BinaryType GetBinaryType(std::string Path);
|
||||||
|
|
||||||
int Spawn(char *Path, const char **argv, const char **envp,
|
int Spawn(const char *Path, const char **argv, const char **envp,
|
||||||
Tasking::PCB *Parent = nullptr, bool Fork = false,
|
Tasking::PCB *Parent = nullptr, bool Fork = false,
|
||||||
Tasking::TaskCompatibility Compatibility = Tasking::Native,
|
Tasking::TaskCompatibility Compatibility = Tasking::Native,
|
||||||
bool Critical = false);
|
bool Critical = false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user