aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-07-09 05:53:44 +0000
committerKevin Buettner <kevinb@redhat.com>2001-07-09 05:53:44 +0000
commit46712191470afb32ce078cfa49550f84a774973c (patch)
tree3160be31416cc979d0ef1e5c62a493e8e5190021 /gdb/mi
parentdd834ebbda5fd7b2cd9b65abfefb6b412a080a23 (diff)
downloadgdb-46712191470afb32ce078cfa49550f84a774973c.zip
gdb-46712191470afb32ce078cfa49550f84a774973c.tar.gz
gdb-46712191470afb32ce078cfa49550f84a774973c.tar.bz2
Make function declarators match function declarations.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/ChangeLog6
-rw-r--r--gdb/mi/mi-out.c12
2 files changed, 12 insertions, 6 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index ab49319..8b2e308 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-08 Kevin Buettner <kevinb@redhat.com>
+
+ * mi-out.c (mi_table_header, mi_field_int, mi_field_skip)
+ (mi_field_string) Make function declarators match earlier
+ declarations.
+
2001-07-04 Andrew Cagney <ac131313@redhat.com>
* mi-out.c (mi_ui_out_impl): Initialize is_mi_like_p to one.
diff --git a/gdb/mi/mi-out.c b/gdb/mi/mi-out.c
index 7e09f2d..97d0994 100644
--- a/gdb/mi/mi-out.c
+++ b/gdb/mi/mi-out.c
@@ -162,7 +162,7 @@ mi_table_end (struct ui_out *uiout)
/* Specify table header */
void
-mi_table_header (struct ui_out *uiout, int width, int alignment,
+mi_table_header (struct ui_out *uiout, int width, enum ui_align alignment,
const char *col_name,
const char *colhdr)
{
@@ -212,8 +212,8 @@ mi_end (struct ui_out *uiout,
/* output an int field */
void
-mi_field_int (struct ui_out *uiout, int fldno, int width, int alignment,
- const char *fldname, int value)
+mi_field_int (struct ui_out *uiout, int fldno, int width,
+ enum ui_align alignment, const char *fldname, int value)
{
char buffer[20]; /* FIXME: how many chars long a %d can become? */
struct ui_out_data *data = ui_out_data (uiout);
@@ -227,8 +227,8 @@ mi_field_int (struct ui_out *uiout, int fldno, int width, int alignment,
/* used to ommit a field */
void
-mi_field_skip (struct ui_out *uiout, int fldno, int width, int alignment,
- const char *fldname)
+mi_field_skip (struct ui_out *uiout, int fldno, int width,
+ enum ui_align alignment, const char *fldname)
{
struct ui_out_data *data = ui_out_data (uiout);
if (data->suppress_output)
@@ -243,7 +243,7 @@ void
mi_field_string (struct ui_out *uiout,
int fldno,
int width,
- int align,
+ enum ui_align align,
const char *fldname,
const char *string)
{