diff options
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index 282d25a..13d0f78 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -158,8 +158,8 @@ parse_number (char *, int, int, YYSTYPE *); static struct type *current_type; -static void push_current_type (); -static void pop_current_type (); +static void push_current_type (void); +static void pop_current_type (void); static int search_field; %} @@ -992,7 +992,8 @@ struct type_push static struct type_push *tp_top = NULL; -static void push_current_type () +static void +push_current_type (void) { struct type_push *tpnew; tpnew = (struct type_push *) malloc (sizeof (struct type_push)); @@ -1002,7 +1003,8 @@ static void push_current_type () tp_top = tpnew; } -static void pop_current_type () +static void +pop_current_type (void) { struct type_push *tp = tp_top; if (tp) |