]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use typedef in definition of warning_hook
authorTom Tromey <tromey@adacore.com>
Tue, 13 Feb 2024 20:20:22 +0000 (13:20 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 14 Feb 2024 11:59:35 +0000 (04:59 -0700)
commit172dc8923748b76120cf054d5f01b3230859f7b4
treeb2eb737c2728cddcfb99306529b09804df8b6c33
parentc0852af0565c7a83e17f1358fac52a68e7047002
Use typedef in definition of warning_hook

This changes the global 'warning_hook' to use the warning_hook_handler
typedef in its definition.  This makes it a little easier to change
the type, should that be needed.
gdb/utils.c