This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] cli-out syntax fix


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)
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]