[PATCH] rtemsbsd: Remove arc4random support functions.

Christian Mauderer christian.mauderer at embedded-brains.de
Thu Nov 9 13:24:31 UTC 2017


From: Christian Mauderer <Christian.Mauderer at embedded-brains.de>

These are now provided by the BSP.
---
 rtemsbsd/rtems/rtems-kernel-init.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/rtemsbsd/rtems/rtems-kernel-init.c b/rtemsbsd/rtems/rtems-kernel-init.c
index 8432d5db4dd..1336e598ac4 100644
--- a/rtemsbsd/rtems/rtems-kernel-init.c
+++ b/rtemsbsd/rtems/rtems-kernel-init.c
@@ -115,18 +115,6 @@ volatile uint32_t _Watchdog_Ticks_since_boot;
 extern volatile int32_t _bsd_ticks
     __attribute__ ((__alias__("_Watchdog_Ticks_since_boot")));
 
-__attribute__((__weak__)) void _arc4random_getentropy_fail(void)
-{
-
-}
-
-__attribute__((__weak__)) int getentropy(void *buf, size_t n)
-{
-
-	memset(buf, 0, n);
-	return (0);
-}
-
 rtems_status_code
 rtems_bsd_initialize(void)
 {
-- 
2.12.3



More information about the devel mailing list