ANSI does not allow a prototype to specify an item smaller than an int
if the function uses an old-style definition. This only worked as a
GNUC extension, so stop doing it.
* gengenrtl.c (type_from_format, accessor_from_format): Change
type of parameter `c' from `char' to `int'.
From-SVN: r19922
+Thu May 21 09:04:42 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gengenrtl.c (type_from_format, accessor_from_format): Change
+ type of parameter `c' from `char' to `int'.
+
Wed May 20 22:28:34 1998 Jeffrey A Law (law@cygnus.com)
* warn_summary, test_summary: New scripts from
const char *formats[NUM_RTX_CODE];
-static const char *type_from_format PROTO((char));
-static const char *accessor_from_format PROTO((char));
+static const char *type_from_format PROTO((int));
+static const char *accessor_from_format PROTO((int));
static int special_format PROTO((const char *));
static int special_rtx PROTO((int));
static void find_formats PROTO((void));
static const char *
type_from_format (c)
- char c;
+ int c;
{
switch (c)
{
static const char *
accessor_from_format (c)
- char c;
+ int c;
{
switch (c)
{