abg-fwd: drop duplicate forward declaration for corpus_sptr

Message ID 20200127074216.124429-1-maennich@google.com
State Committed
Headers
Series abg-fwd: drop duplicate forward declaration for corpus_sptr |

Commit Message

Aleksei Vetrov via Libabigail Jan. 1, 2020, midnight UTC
  This declaration has already been done some lines above. Drop the
duplicate.

	* include/abg-fwd.h: drop superfluous forward declaration.

Signed-off-by: Matthias Maennich <maennich@google.com>
---
 include/abg-fwd.h | 4 ----
 1 file changed, 4 deletions(-)
  

Comments

Dodji Seketeli Jan. 1, 2020, midnight UTC | #1
Hello Matthias,

Matthias Maennich <maennich@google.com> a ?crit:

> This declaration has already been done some lines above. Drop the
> duplicate.
>
> 	* include/abg-fwd.h: drop superfluous forward declaration.

This is OK to commit to master.

Thanks!
  

Patch

diff --git a/include/abg-fwd.h b/include/abg-fwd.h
index cbba63424b0c..a71f1e595421 100644
--- a/include/abg-fwd.h
+++ b/include/abg-fwd.h
@@ -100,10 +100,6 @@  typedef shared_ptr<environment> environment_sptr;
 class location;
 class location_manager;
 
-class corpus;
-/// A convenience typedef for shared pointer to @ref corpus.
-typedef shared_ptr<corpus> corpus_sptr;
-
 class type_or_decl_base;
 /// A convenience typedef for a shared_ptr to @ref type_or_decl_base.
 typedef shared_ptr<type_or_decl_base> type_or_decl_base_sptr;