diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2025-03-28 17:13:34 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2025-03-28 17:13:34 +0200 |
commit | 24142c94ca1fe2c350172e529d0ac9b4001e9307 (patch) | |
tree | e9b438be202f3f99b494b9a153cdb9cec181bece /src/include | |
parent | 50502ec2b41733ba5f152cbde457f6cb66e588c6 (diff) | |
download | arching-kaos-tools-24142c94ca1fe2c350172e529d0ac9b4001e9307.tar.gz arching-kaos-tools-24142c94ca1fe2c350172e529d0ac9b4001e9307.tar.bz2 arching-kaos-tools-24142c94ca1fe2c350172e529d0ac9b4001e9307.zip |
Avoiding malloc/free combo by providing a pointer to the function
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/akfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/akfs.h b/src/include/akfs.h index 1a574af..5cbcdae 100644 --- a/src/include/akfs.h +++ b/src/include/akfs.h @@ -19,7 +19,7 @@ int ak_fs_create_dir_for_hash(char*); sha512sum ak_fs_sha512sum_string_to_struct(char*); -char* ak_fs_sha512sum_struct_to_string(sha512sum); +void ak_fs_sha512sum_struct_to_string(sha512sum, char*); #endif // AKFS |