(close): Rename to do_close to avoid conflict with POSIX function of
[pspp-builds.git] / src / language / syntax-string-source.c
index 4fe70ff2ad171f083f3fc5f6d5d4c4f8643c0dec..c3e8d4ffd1713718ea3a0a3e7a27d9258c9a5e94 100644 (file)
@@ -60,7 +60,7 @@ location (const struct getl_interface *i UNUSED)
 
 
 static void
-close (struct getl_interface *i )
+do_close (struct getl_interface *i )
 {
   struct syntax_string_source *sss = (struct syntax_string_source *) i;
 
@@ -116,7 +116,7 @@ create_syntax_string_source (const char *format, ...)
   va_end (args);
 
   sss->parent.interactive = always_false;
-  sss->parent.close = close;
+  sss->parent.close = do_close;
   sss->parent.read = read_single_line;
 
   sss->parent.name = name;