aboutsummaryrefslogtreecommitdiff
path: root/gdb/ser-unix.c
diff options
context:
space:
mode:
authorDrew Moseley <dmoseley@cygnus>1998-07-31 17:26:05 +0000
committerDrew Moseley <dmoseley@cygnus>1998-07-31 17:26:05 +0000
commitc2867a6c70fd06f14e5bcfe1aeb88a7bdcd4e273 (patch)
tree16bdb89cbb170369eece87ae15badcf39524b60b /gdb/ser-unix.c
parentbe5b92f93275e550b177c015c6f832f8cbce0c87 (diff)
downloadgdb-c2867a6c70fd06f14e5bcfe1aeb88a7bdcd4e273.zip
gdb-c2867a6c70fd06f14e5bcfe1aeb88a7bdcd4e273.tar.gz
gdb-c2867a6c70fd06f14e5bcfe1aeb88a7bdcd4e273.tar.bz2
Change the definition of ui_loop_hook to be a function pointer
rather than a function.
Diffstat (limited to 'gdb/ser-unix.c')
-rw-r--r--gdb/ser-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ser-unix.c b/gdb/ser-unix.c
index 81374ea..99d378e 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 */