From 48c1a7982c4f03f91d7a4557bd5a03c3192417e8 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Tue, 29 Jul 2008 14:24:04 +0100 Subject: [PATCH] Make seen_nexus private --- tgt-vhdl/scope.cc | 2 +- tgt-vhdl/vhdl_target.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index 5f4c7ddce..8f611f84b 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -254,7 +254,7 @@ void draw_nexus(ivl_nexus_t nexus) * Ensure that a nexus has been initialised. I.e. all the necessary * statements, declarations, etc. have been generated. */ -void seen_nexus(ivl_nexus_t nexus) +static void seen_nexus(ivl_nexus_t nexus) { if (ivl_nexus_get_private(nexus) == NULL) { cout << "first time we've seen nexus " diff --git a/tgt-vhdl/vhdl_target.h b/tgt-vhdl/vhdl_target.h index 6a8fcf99b..bd786a3ca 100644 --- a/tgt-vhdl/vhdl_target.h +++ b/tgt-vhdl/vhdl_target.h @@ -32,7 +32,6 @@ vhdl_entity *get_active_entity(); void set_active_entity(vhdl_entity *ent); vhdl_var_ref *nexus_to_var_ref(vhdl_scope *arch_scope, ivl_nexus_t nexus); -void seen_nexus(ivl_nexus_t nexus); bool seen_signal_before(ivl_signal_t sig); void remember_signal(ivl_signal_t sig, vhdl_scope *scope);