sim: mips: include stdlib.h for memory prototypes
authorMike Frysinger <vapier@gentoo.org>
Wed, 5 May 2021 02:03:37 +0000 (22:03 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 5 May 2021 02:04:01 +0000 (22:04 -0400)
This file uses free() and friends, so include it to fix missing
prototype warnings.

sim/mips/ChangeLog
sim/mips/dv-tx3904sio.c

index 3301767f3c7a24b3b4dea8b30170d9bd5661b04f..c8cf4e2501e1fd1e24540c8a5265d797a7537c38 100644 (file)
@@ -1,3 +1,7 @@
+2021-05-04  Mike Frysinger  <vapier@gentoo.org>
+
+       * dv-tx3904sio.c: Include stdlib.h.
+
 2021-05-04  Mike Frysinger  <vapier@gentoo.org>
 
        * configure.ac (hw_extra_devices): Inline contents into
index 74e6f56ee2eee48faa18ea5805fd171af0e1a95e..9676344bc33cce937a57b97c9dbc427a3abe709a 100644 (file)
@@ -24,6 +24,7 @@
 #include "dv-sockser.h"
 #include "sim-assert.h"
 
+#include <stdlib.h>
 
 /* DEVICE