[rtems commit] Address Regulator warning for no prototype for memset()

Joel Sherrill joel at rtems.org
Tue Aug 15 14:09:07 UTC 2023


Module:    rtems
Branch:    master
Commit:    7b33aa26759e2431ecc8d0cf3254775d1fba0313
Changeset: http://git.rtems.org/rtems/commit/?id=7b33aa26759e2431ecc8d0cf3254775d1fba0313

Author:    zack <zakthertemsdev at gmail.com>
Date:      Mon Aug 14 20:47:45 2023 -0400

Address Regulator warning for no prototype for memset()

Closes #4942.

---

 cpukit/libmisc/regulator/regulator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cpukit/libmisc/regulator/regulator.c b/cpukit/libmisc/regulator/regulator.c
index 2071c468fd..97a48be4f5 100644
--- a/cpukit/libmisc/regulator/regulator.c
+++ b/cpukit/libmisc/regulator/regulator.c
@@ -35,6 +35,7 @@
 
 #include <rtems.h>
 #include <rtems/regulator.h>
+#include <string.h>
 
 #include <rtems/regulatorimpl.h>
 



More information about the vc mailing list