]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/config/atof-vax.c
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / config / atof-vax.c
index e0125268616ff5da0959c31dc684378e6f56215b..2eb3e62a3198d38be7d6f571b333436f8c6c5d74 100644 (file)
@@ -1,6 +1,5 @@
 /* atof_vax.c - turn a Flonum into a VAX floating point number
-   Copyright 1987, 1992, 1993, 1995, 1997, 1999, 2000, 2005, 2007
-   Free Software Foundation, Inc.
+   Copyright (C) 1987-2020 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -295,7 +294,7 @@ flonum_gen2vax (int format_letter,  /* One of 'd' 'f' 'g' 'h'.  */
          /* Seek (and forget) 1st significant bit.  */
          for (exponent_skippage = 0;
               !next_bits (1);
-              exponent_skippage++);;
+              exponent_skippage++);
 
          exponent_1 = f->exponent + f->leader + 1 - f->low;
          /* Radix LITTLENUM_RADIX, point just higher than f->leader.  */
@@ -380,7 +379,7 @@ flonum_gen2vax (int format_letter,  /* One of 'd' 'f' 'g' 'h'.  */
        Address of where to build floating point literal.
                Assumed to be 'big enough'.
        Address of where to return size of literal (in chars).
-  
+
    Out:        Input_line_pointer->of next char after floating number.
        Error message, or 0.
        Floating point literal.
@@ -388,7 +387,7 @@ flonum_gen2vax (int format_letter,  /* One of 'd' 'f' 'g' 'h'.  */
 
 #define MAXIMUM_NUMBER_OF_LITTLENUMS  8        /* For .hfloats.  */
 
-char *
+const char *
 vax_md_atof (int what_statement_type,
             char *literalP,
             int *sizeP)