From: Drew Moseley Date: Fri, 31 Jul 1998 17:26:05 +0000 (+0000) Subject: Change the definition of ui_loop_hook to be a function pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2867a6c70fd06f14e5bcfe1aeb88a7bdcd4e273;p=binutils-gdb.git Change the definition of ui_loop_hook to be a function pointer rather than a function. --- diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c index 81374eaf378..99d378e4e57 100644 --- a/gdb/ser-unix.c +++ b/gdb/ser-unix.c @@ -84,7 +84,7 @@ static int hardwire_send_break PARAMS ((serial_t)); static int hardwire_setstopbits PARAMS ((serial_t, int)); #ifdef __CYGWIN32__ -extern void ui_loop_hook PARAMS ((int)); +extern void (*ui_loop_hook) PARAMS ((int)); #endif /* Open up a real live device for serial I/O */