X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdata-out.c;h=49a1dbd619187e87b4cd96f901378452e1c48e89;hb=02c64395051af942e9aeff20de6685c706ef1023;hp=6106fc3011f420f7080252db49c2c14f4c03ad0f;hpb=c88e828f7efd35fdf5175eb089fe9be6520f44d9;p=pspp-builds.git diff --git a/src/data/data-out.c b/src/data/data-out.c index 6106fc30..49a1dbd6 100644 --- a/src/data/data-out.c +++ b/src/data/data-out.c @@ -187,15 +187,6 @@ data_out (char *s, const struct fmt_spec *fp, const union value *v) return ok; } - -/* Converts V into S in F format with width W and D decimal places, - then deletes trailing zeros. S is not null-terminated. */ -void -num_to_string (double v, char *s, int w, int d) -{ - struct fmt_spec f = make_output_format (FMT_F, w, d); - convert_F (s, &f, v); -} /* Main conversion functions. */