This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] Change command_loop_ftype to void
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 12 Feb 2003 16:22:59 +0100
- Subject: [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
{