Changed a lot of non-const pointers to const.
[pspp] / src / language / expressions / optimize.c
index d80f4069b87a4cbfe1e7155f9ff3d4c8684a9848..0425a7adb796f99fe96fefb310c6456ed19e131a 100644 (file)
@@ -1,6 +1,5 @@
 /* PSPP - computes sample statistics.
    Copyright (C) 1997-9, 2000 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
@@ -248,7 +247,7 @@ emit_format (struct expression *e, const struct fmt_spec *f)
 }
 
 static void
-emit_variable (struct expression *e, struct variable *v) 
+emit_variable (struct expression *e, const struct variable *v) 
 {
   allocate_aux (e, OP_variable)->variable = v;
 }