From 77c0fdb7ff33eb5cbea9f71703eca1557499fc0c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 4 May 2021 22:03:37 -0400 Subject: [PATCH] sim: mips: include stdlib.h for memory prototypes This file uses free() and friends, so include it to fix missing prototype warnings. --- sim/mips/ChangeLog | 4 ++++ sim/mips/dv-tx3904sio.c | 1 + 2 files changed, 5 insertions(+) diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 3301767f3c7..c8cf4e2501e 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2021-05-04 Mike Frysinger + + * dv-tx3904sio.c: Include stdlib.h. + 2021-05-04 Mike Frysinger * configure.ac (hw_extra_devices): Inline contents into diff --git a/sim/mips/dv-tx3904sio.c b/sim/mips/dv-tx3904sio.c index 74e6f56ee2e..9676344bc33 100644 --- a/sim/mips/dv-tx3904sio.c +++ b/sim/mips/dv-tx3904sio.c @@ -24,6 +24,7 @@ #include "dv-sockser.h" #include "sim-assert.h" +#include /* DEVICE -- 2.30.2