From b716fdae5ef9b76920fdd2bcd8aab97d9cde90a0 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sun, 29 Oct 2023 18:05:02 +0100 Subject: build: enable warnings and fix existing warnings --- src/minimal_socket.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/minimal_socket.cc') diff --git a/src/minimal_socket.cc b/src/minimal_socket.cc index 1daac6b..21107fd 100644 --- a/src/minimal_socket.cc +++ b/src/minimal_socket.cc @@ -51,7 +51,7 @@ struct initiator_socket : sc_export { struct target_socket : sc_export { sc_port p_bwd; - void bind(initiator_socket& init) { + void bind_init(initiator_socket& init) { // Bind the sc_port / sc_export pairs between the initiator and target // socket. @@ -115,7 +115,7 @@ extern "C" int sc_main(int, char*[]) { target T("target"); // Bind the initiator and target sockets. - T.p_sock.bind(I.p_sock); + T.p_sock.bind_init(I.p_sock); sc_core::sc_start(); return 0; -- cgit v1.2.3