summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/random.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/sys/random.h b/include/sys/random.h
index 2bf581f26..64f70ee52 100644
--- a/include/sys/random.h
+++ b/include/sys/random.h
@@ -35,11 +35,6 @@ random_get_bytes(uint8_t *ptr, size_t len)
return 0;
}
-static __inline__ int
-random_get_pseudo_bytes(uint8_t *ptr, size_t len)
-{
- get_random_bytes((void *)ptr,(int)len);
- return 0;
-}
+extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len);
#endif /* _SPL_RANDOM_H */