fix compile time warning messages
authorNick Clifton <nickc@redhat.com>
Mon, 24 Sep 2001 14:47:10 +0000 (14:47 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 24 Sep 2001 14:47:10 +0000 (14:47 +0000)
gas/ChangeLog
gas/config/tc-arc.c
gas/config/tc-arc.h

index 7b57472..31f61c4 100644 (file)
@@ -1,3 +1,9 @@
+2001-09-24  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-arc.c: Add missing prototype.
+       (md_atof): Change type to int. Add missing prototype.
+       * config/tc-arc.h: Prototype exported functions.
+
 2001-09-22  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * as.c: Add missing function prototype.
index cedd2b4..569502e 100644 (file)
@@ -46,9 +46,11 @@ static void arc_common PARAMS ((int));
 static void arc_extinst PARAMS ((int));
 static void arc_extoper PARAMS ((int));
 static void arc_option PARAMS ((int));
-static int get_arc_exp_reloc_type PARAMS ((int, int, expressionS *,
+static int  get_arc_exp_reloc_type PARAMS ((int, int, expressionS *,
                                           expressionS *));
 
+static void init_opcode_tables PARAMS ((int));
+
 const struct suffix_classes {
   char *name;
   int  len;
@@ -1537,7 +1539,7 @@ arc_option (ignore)
 
 char *
 md_atof (type, litP, sizeP)
-     char type;
+     int type;
      char *litP;
      int *sizeP;
 {
@@ -1545,7 +1547,7 @@ md_atof (type, litP, sizeP)
   LITTLENUM_TYPE words[MAX_LITTLENUMS];
   LITTLENUM_TYPE *wordP;
   char *t;
-  char *atof_ieee ();
+  char * atof_ieee PARAMS ((char *, int, LITTLENUM_TYPE *));
 
   switch (type)
     {
index 463400c..86b9253 100644 (file)
@@ -59,11 +59,11 @@ extern const char *arc_target_format;
 
 /* The ARC needs to parse reloc specifiers in .word.  */
 
-extern void arc_parse_cons_expression ();
+extern void arc_parse_cons_expression PARAMS ((struct expressionS *, unsigned));
 #define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) \
 arc_parse_cons_expression (EXP, NBYTES)
 
-extern void arc_cons_fix_new ();
+extern void arc_cons_fix_new PARAMS ((struct frag *, int, int, struct expressionS *));
 #define TC_CONS_FIX_NEW(FRAG, WHERE, NBYTES, EXP) \
 arc_cons_fix_new (FRAG, WHERE, NBYTES, EXP)