From ac2f16c0421fc0d2d404f9555db5f2eb5d555a7b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 19 Mar 2007 01:21:41 +0000 Subject: [PATCH] (close): Rename to do_close to avoid conflict with POSIX function of the same name. --- src/language/ChangeLog | 5 +++++ src/language/syntax-string-source.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/language/ChangeLog b/src/language/ChangeLog index 33dbf2c6..3801d68d 100644 --- a/src/language/ChangeLog +++ b/src/language/ChangeLog @@ -1,3 +1,8 @@ +2007-03-18 Ben Pfaff + + * syntax-string-source.c (close): Rename to do_close to avoid + conflict with POSIX function of the same name. + Thu Feb 8 15:04:42 2007 Ben Pfaff Reduce platform dependence. diff --git a/src/language/syntax-string-source.c b/src/language/syntax-string-source.c index 4fe70ff2..c3e8d4ff 100644 --- a/src/language/syntax-string-source.c +++ b/src/language/syntax-string-source.c @@ -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; -- 2.30.2