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]

[PATCH RFC] Protoize alpha-tdep.c


Now that the automatic protoization is done, I'll go through by hand
and protoize everything else that my script missed.

I'll wait until 12 midnight GMT of Thursday, July 3rd to commit this
one.  (Which happens to be at 5:00pm Wednesday, my time.)

After this one is done, there are still 138 functions to be fixed by
hand.  (Not counting the stuff in tui which is amenable to a script.)
As mentioned earlier, I will do these a file or two at a time and I
will wait at least two days between patches.

	* alpha-tdep.c (alpha_extract_return_value): Protoize.

Index: alpha-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/alpha-tdep.c,v
retrieving revision 1.3
diff -u -r1.3 alpha-tdep.c
--- alpha-tdep.c	2000/07/30 01:48:24	1.3
+++ alpha-tdep.c	2000/08/01 07:45:57
@@ -1316,10 +1316,8 @@
    extract and copy its value into `valbuf'.  */
 
 void
-alpha_extract_return_value (valtype, regbuf, valbuf)
-     struct type *valtype;
-     char regbuf[REGISTER_BYTES];
-     char *valbuf;
+alpha_extract_return_value (struct type *valtype,
+			    char regbuf[REGISTER_BYTES], char *valbuf)
 {
   if (TYPE_CODE (valtype) == TYPE_CODE_FLT)
     alpha_register_convert_to_virtual (FP0_REGNUM, valtype,


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