aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiCommand.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2001-07-14 19:31:09 +0000
committerStephane Carrez <stcarrez@nerim.fr>2001-07-14 19:31:09 +0000
commiteca6576c1966fe3ced22c80a876f4f4665589bd2 (patch)
treebca87b790d76b0e563ed6c8e4abac08fc6fe8552 /gdb/tui/tuiCommand.c
parentdef902788f7289b932f947966b4a64ed65a2dbd8 (diff)
downloadgdb-eca6576c1966fe3ced22c80a876f4f4665589bd2.zip
gdb-eca6576c1966fe3ced22c80a876f4f4665589bd2.tar.gz
gdb-eca6576c1966fe3ced22c80a876f4f4665589bd2.tar.bz2
* tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
tuiIO.c, tuiData.c: Likewise. tuiDataWin.c, tuiDisassem.c: Likewise. tuiGeneralWin.c, tuiLayout.c: Likewise. tuiRegs.c, tuiSource.c: Likewise. tuiSouceWin.c, tuiStack.c: Likewise.
Diffstat (limited to 'gdb/tui/tuiCommand.c')
-rw-r--r--gdb/tui/tuiCommand.c36
1 files changed, 4 insertions, 32 deletions
diff --git a/gdb/tui/tuiCommand.c b/gdb/tui/tuiCommand.c
index 5c79ad4..3611a4b 100644
--- a/gdb/tui/tuiCommand.c
+++ b/gdb/tui/tuiCommand.c
@@ -41,13 +41,7 @@
** Dispatch the correct tui function based upon the control character.
*/
unsigned int
-#ifdef __STDC__
-tuiDispatchCtrlChar (
- unsigned int ch)
-#else
-tuiDispatchCtrlChar (ch)
- unsigned int ch;
-#endif
+tuiDispatchCtrlChar (unsigned int ch)
{
TuiWinInfoPtr winInfo = tuiWinWithFocus ();
@@ -129,13 +123,7 @@ tuiDispatchCtrlChar (ch)
** checking for overflow. Returns the new value of the char count.
*/
int
-#ifdef __STDC__
-tuiIncrCommandCharCountBy (
- int count)
-#else
-tuiIncrCommandCharCountBy (count)
- int count;
-#endif
+tuiIncrCommandCharCountBy (int count)
{
if (tui_version)
{
@@ -156,13 +144,7 @@ tuiIncrCommandCharCountBy (count)
** checking for overflow. Returns the new value of the char count.
*/
int
-#ifdef __STDC__
-tuiDecrCommandCharCountBy (
- int count)
-#else
-tuiDecrCommandCharCountBy (count)
- int count;
-#endif
+tuiDecrCommandCharCountBy (int count)
{
if (tui_version)
{
@@ -182,13 +164,7 @@ tuiDecrCommandCharCountBy (count)
** Set the character count to count.
*/
int
-#ifdef __STDC__
-tuiSetCommandCharCountTo (
- int count)
-#else
-tuiSetCommandCharCountTo (count)
- int count;
-#endif
+tuiSetCommandCharCountTo (int count)
{
if (tui_version)
{
@@ -211,11 +187,7 @@ tuiSetCommandCharCountTo (count)
** Clear the character count to count.
*/
int
-#ifdef __STDC__
tuiClearCommandCharCount (void)
-#else
-tuiClearCommandCharCount ()
-#endif
{
if (tui_version)
cmdWin->detail.commandInfo.curch = 0;