meta: rename to fx
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
#include <blue/core/bitop.h>
|
||||
#include <fx/core/bitop.h>
|
||||
|
||||
int b_popcountl(long v)
|
||||
int fx_popcountl(long v)
|
||||
{
|
||||
return __builtin_popcountl(v);
|
||||
}
|
||||
|
||||
int b_ctzl(long v)
|
||||
int fx_ctzl(long v)
|
||||
{
|
||||
return __builtin_ctzl(v);
|
||||
}
|
||||
|
||||
int b_clzl(long v)
|
||||
int fx_clzl(long v)
|
||||
{
|
||||
return __builtin_clzl(v);
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
|
||||
uint64_t z__b_platform_random_seed()
|
||||
uint64_t z__fx_platform_random_seed()
|
||||
{
|
||||
int fd = open("/dev/urandom", O_RDONLY);
|
||||
if (fd == -1) {
|
||||
@@ -18,7 +18,7 @@ uint64_t z__b_platform_random_seed()
|
||||
return v;
|
||||
}
|
||||
|
||||
uint64_t z__b_platform_random_seed_secure()
|
||||
uint64_t z__fx_platform_random_seed_secure()
|
||||
{
|
||||
int fd = open("/dev/random", O_RDONLY);
|
||||
if (fd == -1) {
|
||||
|
||||
Reference in New Issue
Block a user