Silence ARI warning about floatformat_to_double
[deliverable/binutils-gdb.git] / gdb / addrmap.c
index d49076b5ae7c43d3c9cefed4f3e514df85da25e8..bcdb4817042f413d99d275bf83b6172f2230164f 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "addrmap.h"
-#include "gdb_obstack.h"
 #include "splay-tree.h"
+#include "gdb_obstack.h"
+#include "addrmap.h"
+
+/* Make sure splay trees can actually hold the values we want to
+   store in them.  */
+gdb_static_assert (sizeof (splay_tree_key) >= sizeof (CORE_ADDR *));
+gdb_static_assert (sizeof (splay_tree_value) >= sizeof (void *));
 
 \f
 /* The "abstract class".  */
@@ -589,14 +592,3 @@ addrmap_create_mutable (struct obstack *obstack)
 
   return (struct addrmap *) map;
 }
-
-/* Initialization.  */
-
-void
-_initialize_addrmap (void)
-{
-  /* Make sure splay trees can actually hold the values we want to 
-     store in them.  */
-  gdb_assert (sizeof (splay_tree_key) >= sizeof (CORE_ADDR *));
-  gdb_assert (sizeof (splay_tree_value) >= sizeof (void *));
-}
This page took 0.024976 seconds and 4 git commands to generate.