This is the mail archive of the gdb-patches@sources.redhat.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]
Other format: [Raw text]

[commit] Change command_loop_ftype to void


Hello,

Trivial tweak. Change the command loop function type so that it returns void. None of the callers check the return type anyway.

committed,
Andrew
2003-02-12  Andrew Cagney  <ac131313@redhat.com>

	* interps.h (interp_command_loop_ftype): Change return type to
	void.

Index: interps.h
===================================================================
RCS file: /cvs/src/src/gdb/interps.h,v
retrieving revision 1.2
diff -u -r1.2 interps.h
--- interps.h	6 Feb 2003 05:30:17 -0000	1.2
+++ interps.h	12 Feb 2003 15:19:58 -0000
@@ -39,7 +39,7 @@
 typedef int (interp_suspend_ftype) (void *data);
 typedef int (interp_prompt_p_ftype) (void *data);
 typedef int (interp_exec_ftype) (void *data, const char *command);
-typedef int (interp_command_loop_ftype) (void *data);
+typedef void (interp_command_loop_ftype) (void *data);
 
 struct interp_procs
 {

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