diff --git a/eeschema/sch_item_struct.cpp b/eeschema/sch_item_struct.cpp index 6e4f98c8da..873a8921a4 100644 --- a/eeschema/sch_item_struct.cpp +++ b/eeschema/sch_item_struct.cpp @@ -40,13 +40,6 @@ const wxString traceFindItem = wxT( "KICAD_TRACE_FIND_ITEM" ); - -bool sort_schematic_items( const SCH_ITEM* aItem1, const SCH_ITEM* aItem2 ) -{ - return *aItem1 < *aItem2; -} - - /* Constructor and destructor for SCH_ITEM */ /* They are not inline because this creates problems with gcc at linking time * in debug mode diff --git a/eeschema/sch_item_struct.h b/eeschema/sch_item_struct.h index a532561e80..48409040ed 100644 --- a/eeschema/sch_item_struct.h +++ b/eeschema/sch_item_struct.h @@ -427,8 +427,4 @@ private: virtual bool doIsConnected( const wxPoint& aPosition ) const { return false; } }; - -extern bool sort_schematic_items( const SCH_ITEM* aItem1, const SCH_ITEM* aItem2 ); - - #endif /* SCH_ITEM_STRUCT_H */