Fix memory leaks.
[pspp-builds.git] / src / sfm.h
index 6b3f6a1b42f6424a661782615d62a544df23aa7f..e5691649c859ad7deb05ed54bc5178ab2930e440 100644 (file)
--- a/src/sfm.h
+++ b/src/sfm.h
@@ -33,7 +33,7 @@ struct sfm_read_info
   {
     char creation_date[10];    /* `dd mmm yy' plus a null. */
     char creation_time[9];     /* `hh:mm:ss' plus a null. */
-    int endianness;            /* BIG or LITTLE. */
+    int bigendian;             /* 1=big-endian, 0=little-endian. */
     int compressed;            /* 0=no, 1=yes. */
     int ncases;                        /* -1 if unknown. */
     char product[61];          /* Product name plus a null. */
@@ -41,11 +41,11 @@ struct sfm_read_info
 
 struct dictionary;
 struct file_handle;
-union value;
+struct ccase;
 
 struct dictionary *sfm_read_dictionary (struct file_handle *,
                                        struct sfm_read_info *);
-int sfm_read_case (struct file_handle *, union value *, struct dictionary *);
+int sfm_read_case (struct file_handle *, struct ccase *, struct dictionary *);
 void sfm_maybe_close (struct file_handle *);
 
 /* Information needed by sfm_write_dictionary(). */