From d16c467a501547e37b111f775396e28f8bf27c1e Mon Sep 17 00:00:00 2001 From: Laurent Morichetti Date: Tue, 14 Jan 2020 16:22:33 -0800 Subject: [PATCH] Fix build error in gdb/rocm-tdep.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch fixes the following build error: ../../gdb/rocm-tdep.c: In function ‘void async_file_flush()’: ../../gdb/rocm-tdep.c:205:1: error: no previous declaration for ‘void async_file_flush()’ [-Werror=missing-declarations] async_file_flush (void) ^~~~~~~~~~~~~~~~ Change-Id: Ia5be169ce25452e40eeba0b6ff29d3c07db2795c --- gdb/rocm-tdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/rocm-tdep.c b/gdb/rocm-tdep.c index e694df4b5c..87f93e6508 100644 --- a/gdb/rocm-tdep.c +++ b/gdb/rocm-tdep.c @@ -201,7 +201,7 @@ static int rocm_event_pipe[2] = { -1, -1 }; /* Flush the event pipe. */ -void +static void async_file_flush (void) { int ret; -- 2.34.1