This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Patch installed: Kill PROTO macros in gansidecl.h


Patch applied:


R.I.P. PROTO.



Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/egcs/gcc/ChangeLog,v
retrieving revision 1.5576
diff -u -p -r1.5576 ChangeLog
--- ChangeLog	2000/01/31 07:28:03	1.5576
+++ ChangeLog	2000/01/31 16:38:32
@@ -1,3 +1,10 @@
+2000-01-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
+	
+	* sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
+	PROTO -> PARAMS.
+
 2000-01-30  Zack Weinberg  <zack@wolery.cumb.org>
 
 	* i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
Index: gansidecl.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gansidecl.h,v
retrieving revision 1.21
diff -u -p -r1.21 gansidecl.h
--- gansidecl.h	1999/11/10 17:57:20	1.21
+++ gansidecl.h	2000/01/31 16:38:32
@@ -27,13 +27,6 @@ Boston, MA 02111-1307, USA.  */
 
 #include "ansidecl.h"
 
-/* Undef ansidecl.h's "obsolete" version. */
-#undef PROTO
-/* These macros are deprecated, use ansidecl.h's PARAMS style instead. */
-#define PROTO(ARGS) PARAMS(ARGS)
-#define VPROTO(ARGS) VPARAMS(ARGS)
-#define PVPROTO(ARGS) PARAMS(ARGS)
-
 /* Autoconf will possibly define the `inline' or `const' keywords as
    macros, however this is only valid for the stage1 compiler.  If we
    detect a modern version of gcc, unconditionally reset the values.
Index: sbitmap.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/sbitmap.h,v
retrieving revision 1.7
diff -u -p -r1.7 sbitmap.h
--- sbitmap.h	2000/01/29 01:41:22	1.7
+++ sbitmap.h	2000/01/31 16:38:32
@@ -114,8 +114,8 @@ extern int sbitmap_a_and_b PARAMS ((sbit
 extern int sbitmap_a_or_b PARAMS ((sbitmap, sbitmap, sbitmap));
 extern int sbitmap_a_subset_b_p PARAMS ((sbitmap, sbitmap));
 
-extern int sbitmap_first_set_bit PROTO ((sbitmap));
-extern int sbitmap_last_set_bit PROTO ((sbitmap));
+extern int sbitmap_first_set_bit PARAMS ((sbitmap));
+extern int sbitmap_last_set_bit PARAMS ((sbitmap));
 
 struct int_list;
 extern void sbitmap_intersect_of_predsucc PARAMS ((sbitmap, sbitmap *,

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