aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui.h8
-rw-r--r--gdb/tui/tuiIO.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h
index 2278052..695d707 100644
--- a/gdb/tui/tui.h
+++ b/gdb/tui/tui.h
@@ -26,15 +26,15 @@
/* Opaque data type */
typedef char *Opaque;
typedef
-Opaque (*OpaqueFuncPtr) PARAMS ((va_list));
+Opaque (*OpaqueFuncPtr) (va_list);
typedef char **OpaqueList;
typedef OpaqueList OpaquePtr;
/* Generic function pointer */
- typedef void (*TuiVoidFuncPtr) PARAMS ((va_list));
- typedef int (*TuiIntFuncPtr) PARAMS ((va_list));
+ typedef void (*TuiVoidFuncPtr) (va_list);
+ typedef int (*TuiIntFuncPtr) (va_list);
/*
- typedef Opaque (*TuiOpaqueFuncPtr) PARAMS ((va_list));
+ typedef Opaque (*TuiOpaqueFuncPtr) (va_list);
*/
typedef OpaqueFuncPtr TuiOpaqueFuncPtr;
diff --git a/gdb/tui/tuiIO.c b/gdb/tui/tuiIO.c
index 1256a50..c8427c0 100644
--- a/gdb/tui/tuiIO.c
+++ b/gdb/tui/tuiIO.c
@@ -112,7 +112,7 @@ void
tui_tputs (str, affcnt, putfunc)
char *str;
int affcnt;
- int (*putfunc) PARAMS ((int));
+ int (*putfunc) (int);
{
extern char *rl_prompt; /* the prompt string */