mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-04 06:41:00 +08:00
fnv_hash.h: Disable unused 64-bit functions
This commit is contained in:
parent
982f72fb46
commit
a438f528fc
@ -44,6 +44,7 @@ fnv_32_str(const char *str, Fnv32_t hval)
|
|||||||
return hval;
|
return hval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
static __inline Fnv64_t
|
static __inline Fnv64_t
|
||||||
fnv_64_buf(const void *buf, size_t len, Fnv64_t hval)
|
fnv_64_buf(const void *buf, size_t len, Fnv64_t hval)
|
||||||
{
|
{
|
||||||
@ -68,4 +69,5 @@ fnv_64_str(const char *str, Fnv64_t hval)
|
|||||||
}
|
}
|
||||||
return hval;
|
return hval;
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
#endif /* _SYS_FNV_HASH_H_ */
|
#endif /* _SYS_FNV_HASH_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user