This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[patch] cli-out syntax fix
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [patch] cli-out syntax fix
- From: Robert Lipe <robertl at sco dot com>
- Date: Thu, 3 Feb 2000 11:01:32 -0600
- Cc: cagney at cygnus dot com
This, in combination with nuking __FUNCTION__ from uw-thread.c returns
GDB to compilesville with non-GCC compilers.
2000-02-03 Robert Lipe <robertl@sco.com>
* cli-out.c (cli_field_string): Make declaration match prototype.
Index: cli-out.c
===================================================================
RCS file: /cvs/gdb/gdb/gdb/cli-out.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 cli-out.c
--- cli-out.c 2000/02/03 04:14:27 1.1.1.1
+++ cli-out.c 2000/02/03 16:55:17
@@ -190,11 +190,11 @@ cli_field_skip (uiout, fldno, width, ali
/* other specific cli_field_* end up here so alignment and field
separators are both handled by cli_field_string */
-void
+static void
cli_field_string (struct ui_out *uiout,
int fldno,
int width,
- int align,
+ enum ui_align align,
char *fldname,
const char *string)
{