diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-18 14:46:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-18 15:06:36 +0200 |
commit | a438f528fc54875b5f406499a8f71c28110b6535 (patch) | |
tree | ea04639fcf1f0c0d9e215ffdc34da4dd0755aa41 | |
parent | syslog: Include missing header file (diff) | |
download | rtems-libbsd-a438f528fc54875b5f406499a8f71c28110b6535.tar.bz2 |
fnv_hash.h: Disable unused 64-bit functions
-rw-r--r-- | freebsd/sys/sys/fnv_hash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/sys/sys/fnv_hash.h b/freebsd/sys/sys/fnv_hash.h index c1452a67..1b9fa9f5 100644 --- a/freebsd/sys/sys/fnv_hash.h +++ b/freebsd/sys/sys/fnv_hash.h @@ -44,6 +44,7 @@ fnv_32_str(const char *str, Fnv32_t hval) return hval; } +#ifndef __rtems__ static __inline Fnv64_t 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; } +#endif /* __rtems__ */ #endif /* _SYS_FNV_HASH_H_ */ |