removed "Written by..." line
[pspp-builds.git] / src / data / missing-values.h
index 5727344df6a47c57b8d2ddb539c4df74d58ae7e5..535e99a863a28e68e57dda70e278202103fa8c94 100644 (file)
@@ -1,6 +1,5 @@
 /* PSPP - computes sample statistics.
    Copyright (C) 2005 Free Software Foundation, Inc.
-   Written by Ben Pfaff <blp@gnu.org>.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -25,7 +24,7 @@
 
 /* Types of user-missing values.
    Invisible--use access functions defined below instead. */
-enum mv_type 
+enum mv_type
   {
     MV_NONE = 0,                /* No user-missing values. */
     MV_1 = 1,                   /* One user-missing value. */
@@ -37,9 +36,9 @@ enum mv_type
 
 /* Missing values.
    Opaque--use access functions defined below. */
-struct missing_values 
+struct missing_values
   {
-    unsigned type;              /* Number and type of missing values. */
+    enum mv_type type;          /* Number and type of missing values. */
     int width;                  /* 0=numeric, otherwise string width. */
     union value values[3];      /* Missing values.  [y,z] are the range. */
   };
@@ -69,7 +68,7 @@ bool mv_has_range (const struct missing_values *);
 void mv_pop_range (struct missing_values *, double *low, double *high);
 void mv_peek_range (const struct missing_values *, double *low, double *high);
 
-bool mv_is_resizable (struct missing_values *, int width);
+bool mv_is_resizable (const struct missing_values *, int width);
 void mv_resize (struct missing_values *, int width);
 
 typedef bool mv_is_missing_func (const struct missing_values *,