Completely rewrite src/data/format.[ch], to achieve better
[pspp] / src / language / utilities / include.c
index 42614f1bb4426186ef6ed52b629d8efe87b3cdaf..ef58a20e79cf8388315213b6dcea741a2f4db7cb 100644 (file)
@@ -31,7 +31,7 @@
 #define _(msgid) gettext (msgid)
 
 int
-cmd_include (void)
+cmd_include (struct dataset *ds UNUSED)
 {
   /* Skip optional FILE=. */
   if (lex_match_id ("FILE"))
@@ -43,7 +43,7 @@ cmd_include (void)
       lex_error (_("expecting file name")); 
       return CMD_CASCADING_FAILURE;
     }
-  getl_include_syntax_file (ds_c_str (&tokstr));
+  getl_include_syntax_file (ds_cstr (&tokstr));
 
   lex_get ();
   return lex_end_of_command ();