[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src/data ChangeLog data-out.c format.h
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] pspp/src/data ChangeLog data-out.c format.h |
Date: |
Wed, 01 Nov 2006 03:36:10 +0000 |
CVSROOT: /cvsroot/pspp
Module name: pspp
Changes by: Ben Pfaff <blp> 06/11/01 03:36:10
Modified files:
src/data : ChangeLog data-out.c format.h
Log message:
Remove num_to_string() function, because it is not used anywhere.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/ChangeLog?cvsroot=pspp&r1=1.68&r2=1.69
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/data-out.c?cvsroot=pspp&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/pspp/src/data/format.h?cvsroot=pspp&r1=1.6&r2=1.7
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/ChangeLog,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -b -r1.68 -r1.69
--- ChangeLog 1 Nov 2006 02:12:25 -0000 1.68
+++ ChangeLog 1 Nov 2006 03:36:09 -0000 1.69
@@ -1,3 +1,7 @@
+Tue Oct 31 19:35:36 2006 Ben Pfaff <address@hidden>
+
+ * data-out.c: (num_to_string) Removed, because it was dead code.
+
Tue Oct 31 18:09:24 2006 Ben Pfaff <address@hidden>
* data-in.c (parse_trailer): Fix error message.
Index: data-out.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/data-out.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- data-out.c 20 Oct 2006 11:32:57 -0000 1.7
+++ data-out.c 1 Nov 2006 03:36:10 -0000 1.8
@@ -188,15 +188,6 @@
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. */
static void insert_commas (char *dst, const char *src,
Index: format.h
===================================================================
RCS file: /cvsroot/pspp/pspp/src/data/format.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- format.h 29 Oct 2006 00:01:52 -0000 1.6
+++ format.h 1 Nov 2006 03:36:10 -0000 1.7
@@ -121,7 +121,6 @@
bool data_out (char *s, const struct fmt_spec *fp, const union value *v);
bool fmt_type_from_string (const char *name, int *type);
char *fmt_to_string (const struct fmt_spec *);
-void num_to_string (double v, char *s, int w, int d);
struct fmt_spec make_input_format (int type, int w, int d);
struct fmt_spec make_output_format (int type, int w, int d);
bool fmt_is_binary (int type);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src/data ChangeLog data-out.c format.h,
Ben Pfaff <=