aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-03-09 13:26:19 +1030
committerAlan Modra <amodra@gmail.com>2024-03-09 14:35:09 +1030
commitbd8d76258f86f93b20e6bd94f58033a49eb0d3ec (patch)
tree5f6cd9f44182eb1189f2f4b8501eefbd0e5d3576 /bfd/bfd-in2.h
parented29a346be439466ff2a5ce33e715e02c49fbdac (diff)
downloadgdb-bd8d76258f86f93b20e6bd94f58033a49eb0d3ec.zip
gdb-bd8d76258f86f93b20e6bd94f58033a49eb0d3ec.tar.gz
gdb-bd8d76258f86f93b20e6bd94f58033a49eb0d3ec.tar.bz2
print cached error messages using _bfd_error_handler
* bfd.c (bfd_print_error): Make static. Don't print program name. (error_handler_fprintf): Print program name here. * format.c (print_warnmsg): Use _bfd_error_handler to print cached messages. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 79b24a7..76d4504 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2558,9 +2558,6 @@ void bfd_perror (const char *message);
typedef void (*bfd_error_handler_type) (const char *, va_list);
typedef int (*bfd_print_callback) (void *, const char *, ...);
-void bfd_print_error (bfd_print_callback print_func,
- void *stream, const char *fmt, va_list ap);
-
void _bfd_error_handler (const char *fmt, ...) ATTRIBUTE_PRINTF_1;
bfd_error_handler_type bfd_set_error_handler (bfd_error_handler_type);