abg-comparison.cc: Remove stray function declaration.

Message ID 20200310144506.221042-1-gprocida@google.com
State Committed
Headers
Series abg-comparison.cc: Remove stray function declaration. |

Commit Message

Giuliano Procida March 10, 2020, 2:45 p.m. UTC
  There was a stray file-scoped declaration of show_relative_offset_changes. This
function is now a member of diff_context.

	* src/abg-comparison.cc (show_relative_offset_changes): Remove
	this stray function declaration.

Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 src/abg-comparison.cc | 3 ---
 1 file changed, 3 deletions(-)
  

Comments

Dodji Seketeli March 11, 2020, 8:45 a.m. UTC | #1
Hello Giuliano,

Giuliano Procida <gprocida@google.com> a ?crit:

> There was a stray file-scoped declaration of show_relative_offset_changes. This
> function is now a member of diff_context.
>
> 	* src/abg-comparison.cc (show_relative_offset_changes): Remove
> 	this stray function declaration.

This is obviously good and has been applied to master.

Thanks!

Cheers,
  

Patch

diff --git a/src/abg-comparison.cc b/src/abg-comparison.cc
index 5371e843..45ba0c9b 100644
--- a/src/abg-comparison.cc
+++ b/src/abg-comparison.cc
@@ -1602,9 +1602,6 @@  bool
 diff_context::show_relative_offset_changes(void)
 {return priv_->show_relative_offset_changes_;}
 
-  bool
-  show_relative_offset_changes(void);
-
 /// Set a flag saying if the comparison module should only show the
 /// diff stats.
 ///