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] help_all tweek.


FYI,

I've tweeked the following.  There was an extern VS static problem.

	enjoy,
		Andrew
Fri Apr 21 14:37:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>

	* command.h (help_all): Delete declaration.
	* command.c (help_all): Add declaration.  Convert function
 	argument list to ISO-C.

Index: command.c
===================================================================
RCS file: /cvs/src/src/gdb/command.c,v
retrieving revision 1.6
diff -p -r1.6 command.c
*** command.c	2000/04/20 23:51:01	1.6
--- command.c	2000/04/21 05:14:34
*************** static struct cmd_list_element *find_cmd
*** 57,62 ****
--- 57,64 ----
  static void apropos_cmd_helper (struct ui_file *, struct cmd_list_element *, 
  		    		struct re_pattern_buffer *, char *);
  
+ static void help_all (struct ui_file *stream);
+ 
  void apropos_command (char *, int);
  
  void _initialize_command PARAMS ((void));
*************** Command name abbreviations are allowed i
*** 609,616 ****
  }
  
  static void
! help_all (stream)
!      struct ui_file *stream;
  {
    struct cmd_list_element *c;
    extern struct cmd_list_element *cmdlist;
--- 611,617 ----
  }
  
  static void
! help_all (struct ui_file *stream)
  {
    struct cmd_list_element *c;
    extern struct cmd_list_element *cmdlist;
Index: command.h
===================================================================
RCS file: /cvs/src/src/gdb/command.h,v
retrieving revision 1.5
diff -p -r1.5 command.h
*** command.h	2000/04/20 23:51:01	1.5
--- command.h	2000/04/21 05:14:34
*************** extern void help_list (struct cmd_list_e
*** 284,291 ****
  extern void help_cmd_list (struct cmd_list_element *, enum command_class,
  			   char *, int, struct ui_file *);
  
- extern void help_all (struct ui_file *);
- 
  extern struct cmd_list_element *
    add_set_cmd PARAMS ((char *, enum command_class, var_types, char *, char *,
  		       struct cmd_list_element **));
--- 284,289 ----

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