diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-06-04 00:41:10 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-06-04 00:41:10 +0000 |
commit | 507f3c78fb4a1235b731350d60f1bf0ce94b4175 (patch) | |
tree | 6ea9ac74469d05832c141119201193804a03f09c /gdb/tui | |
parent | 450005e7c2e864ed0b7ab8c85947716cc707b98a (diff) | |
download | gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.zip gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.gz gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.bz2 |
Eliminate PARAMS from function pointer declarations.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui.h | 8 | ||||
-rw-r--r-- | gdb/tui/tuiIO.c | 2 |
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 */ |