diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-15 06:07:15 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-15 06:07:15 +0100 |
| commit | b2c4d9a8ebebf87be33dcc357af86102d31dac47 (patch) | |
| tree | d92f48fa8c936b849de60ad3cad61a75ad1983df /dev/libSystem/src/SystemCalls.cc | |
| parent | 41d29ecc10da26c9e03095376569216a43550be5 (diff) | |
feat: DDK: compiler improvements and working on fwrk standard and launch
design.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/libSystem/src/SystemCalls.cc')
| -rw-r--r-- | dev/libSystem/src/SystemCalls.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dev/libSystem/src/SystemCalls.cc b/dev/libSystem/src/SystemCalls.cc index 3db9368d..3d7a7447 100644 --- a/dev/libSystem/src/SystemCalls.cc +++ b/dev/libSystem/src/SystemCalls.cc @@ -11,23 +11,6 @@ using namespace LibSystem;
-/// @note this uses the FNV 64-bit variant.
-IMPORT_C UInt64 libsys_hash_64(const Char* path) {
- if (!path || *path == 0) return 0;
-
- const UInt64 kFNVSeed = 0xcbf29ce484222325ULL;
- const UInt64 kFNVPrime = 0x100000001b3ULL;
-
- UInt64 hash = kFNVSeed;
-
- while (*path) {
- hash ^= (Char) (*path++);
- hash *= kFNVPrime;
- }
-
- return hash;
-}
-
IMPORT_C Char* StrFmt(const Char* fmt, ...) {
if (!fmt || *fmt == 0) return const_cast<Char*>("(null)");
|
