From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elena Zannoni To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Remove unused declaration in top.c Date: Thu, 17 May 2001 08:02:00 -0000 Message-id: <15107.59402.14923.412770@kwikemart.cygnus.com> References: X-SW-Source: 2001-05/msg00344.html Eli Zaretskii writes: > I'm asking for approval of the following patch which removes an unused > definition of struct user_args variable in top.c. AFAICS, this is a > relic left behind when cli-* files were separated from top.c. The reason > I payed attention to it was that the Irix linker printed a warning about > duplicate definition (one in top.c, the other in cli-script.c). > > Okay to commit? (It looks like an obvious fix, but...) > Yes, thanks! Elena > 2001-05-17 Eli Zaretskii > > * top.c (user_args): Remove unused declaration. > > > --- gdb/top.c~ Thu Apr 5 18:59:30 2001 > +++ gdb/top.c Thu May 17 17:36:24 2001 > @@ -224,21 +224,6 @@ > /* Level of control structure. */ > static int control_level; > > -/* Structure for arguments to user defined functions. */ > -#define MAXUSERARGS 10 > -struct user_args > - { > - struct user_args *next; > - struct > - { > - char *arg; > - int len; > - } > - a[MAXUSERARGS]; > - int count; > - } > - *user_args; > - > /* Signal to catch ^Z typed while reading a command: SIGTSTP or SIGCONT. */ > > #ifndef STOP_SIGNAL >