Add prototypes.
[gcc.git] / gcc / machmode.h
index 921ffd51fd9d7b83a558d7c14336af6c1703fbee..240bd5725f302fcd63f035a8a1c2791b4125c4b9 100644 (file)
@@ -18,6 +18,15 @@ along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 
+/* Add prototype support.  */
+#ifndef PROTO
+#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
+#define PROTO(ARGS) ARGS
+#else
+#define PROTO(ARGS) ()
+#endif
+#endif
+
 #ifndef HAVE_MACHINE_MODES
 
 /* Strictly speaking, this isn't the proper place to include these definitions,
@@ -131,11 +140,11 @@ extern enum machine_mode mode_wider_mode[];
    If LIMIT is nonzero, then don't use modes bigger than MAX_FIXED_MODE_SIZE.
    The value is BLKmode if no other mode is found.  */
 
-extern enum machine_mode mode_for_size ();
+extern enum machine_mode mode_for_size PROTO((unsigned int, enum mode_class, int));
 
 /* Find the best mode to use to access a bit field.  */
 
-extern enum machine_mode get_best_mode ();
+extern enum machine_mode get_best_mode PROTO((int, int, int, enum machine_mode, int));
 
 /* Determine alignment, 1<=result<=BIGGEST_ALIGNMENT.  */