diff options
Diffstat (limited to 'gdb/gmp-utils.c')
-rw-r--r-- | gdb/gmp-utils.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/gmp-utils.c b/gdb/gmp-utils.c index aabdd5f..5c5423a 100644 --- a/gdb/gmp-utils.c +++ b/gdb/gmp-utils.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2019-2024 Free Software Foundation, Inc. +/* Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -250,10 +250,7 @@ xfree_for_gmp (void *ptr, size_t size) xfree (ptr); } -void _initialize_gmp_utils (); - -void -_initialize_gmp_utils () +INIT_GDB_FILE (gmp_utils) { /* Tell GMP to use GDB's memory management routines. */ mp_set_memory_functions (xmalloc, xrealloc_for_gmp, xfree_for_gmp); |