From: Ben Pfaff Date: Mon, 19 Mar 2007 04:24:56 +0000 (+0000) Subject: (close): Rename do_close to avoid naming conflict with POSIX X-Git-Tag: v0.6.0~521 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b6f9b8c607743ea7324b2b7e9a3b3fe7afa5f4e;p=pspp-builds.git (close): Rename do_close to avoid naming conflict with POSIX function of same name. --- diff --git a/src/ui/gui/ChangeLog b/src/ui/gui/ChangeLog index f208b59d..9a4a95ce 100644 --- a/src/ui/gui/ChangeLog +++ b/src/ui/gui/ChangeLog @@ -1,3 +1,8 @@ +2007-03-18 Ben Pfaff + + * syntax-editor-source.c (close): Rename do_close to avoid naming + conflict with POSIX function of same name. + Tue Mar 13 17:20:05 CET 2007 John Darrington * psppire.c: Changed gtk_init to gtk_parse_args, followed by a delayed call to gdk_init, so that psppire --version will succeed, even if it cannot connect to a display . diff --git a/src/ui/gui/syntax-editor-source.c b/src/ui/gui/syntax-editor-source.c index 6a863f69..887f14f3 100644 --- a/src/ui/gui/syntax-editor-source.c +++ b/src/ui/gui/syntax-editor-source.c @@ -100,7 +100,7 @@ read_line_from_buffer (struct getl_interface *i, static void -close (struct getl_interface *i ) +do_close (struct getl_interface *i ) { free (i); } @@ -120,7 +120,7 @@ create_syntax_editor_source (const struct syntax_editor *se, ses->parent.interactive = always_false; ses->parent.read = read_line_from_buffer; - ses->parent.close = close; + ses->parent.close = do_close; ses->parent.name = name; ses->parent.location = location;