[rtems-libbsd commit] fnv_hash.h: Disable unused 64-bit functions
Sebastian Huber
sebh at rtems.org
Mon Apr 18 13:19:25 UTC 2016
Module: rtems-libbsd
Branch: master
Commit: a438f528fc54875b5f406499a8f71c28110b6535
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=a438f528fc54875b5f406499a8f71c28110b6535
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Mon Apr 18 14:46:23 2016 +0200
fnv_hash.h: Disable unused 64-bit functions
---
freebsd/sys/sys/fnv_hash.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/freebsd/sys/sys/fnv_hash.h b/freebsd/sys/sys/fnv_hash.h
index c1452a6..1b9fa9f 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_ */
More information about the vc
mailing list