]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - spl/include/sys/random.h
UBUNTU: SAUCE: (noup) Update spl to 0.7.3-1ubuntu1, zfs to 0.7.3-1ubuntu1
[mirror_ubuntu-bionic-kernel.git] / spl / include / sys / random.h
index 2bf581f2651f600e2f3a978ceea38346ba0ace51..64f70ee52f4a000d5543b6438267d64724c55af5 100644 (file)
@@ -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 */