aboutsummaryrefslogtreecommitdiff
path: root/gas/config/atof-tahoe.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-09-28 04:47:32 +0000
committerKen Raeburn <raeburn@cygnus>1993-09-28 04:47:32 +0000
commit43029a8f84e0684ba2c1e6e1643245cd80404ef2 (patch)
tree98419426285e4dd74f8673764c4d7881375cef62 /gas/config/atof-tahoe.c
parent32940b9fe3088fefe40ca9009f622ef5bb22b4bf (diff)
downloadgdb-43029a8f84e0684ba2c1e6e1643245cd80404ef2.zip
gdb-43029a8f84e0684ba2c1e6e1643245cd80404ef2.tar.gz
gdb-43029a8f84e0684ba2c1e6e1643245cd80404ef2.tar.bz2
Whitespace/comment cleanup. Use PARAMS in tc-vax.c.
Make various routines return null pointer instead of empty string for success indication.
Diffstat (limited to 'gas/config/atof-tahoe.c')
-rw-r--r--gas/config/atof-tahoe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/atof-tahoe.c b/gas/config/atof-tahoe.c
index a80c89e..195ea2f 100644
--- a/gas/config/atof-tahoe.c
+++ b/gas/config/atof-tahoe.c
@@ -365,7 +365,7 @@ flonum_gen2tahoe (format_letter, f, words)
* Address of where to return size of literal (in chars).
*
* Out: Input_line_pointer -> of next char after floating number.
- * Error message, or "".
+ * Error message, or 0.
* Floating point literal.
* Number of chars we used for the literal.
*/
@@ -425,7 +425,7 @@ md_atof (what_statement_type, literalP, sizeP)
};
*sizeP = number_of_chars;
- return (kind_of_float ? "" : "Bad call to md_atof()");
-} /* md_atof() */
+ return kind_of_float ? 0 : "Bad call to md_atof()";
+}
/* atof_tahoe.c */