X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fsyntax-editor-source.c;h=887f14f3eb927867f7fe22e026fa2025f518f982;hb=4c938ca6e42d409551da41486906ec70ef6fb6c0;hp=6a863f69c0516321a647a0dceac18710e27910b7;hpb=d8749acaf878dccf9e4527c27d06d06eb5e03091;p=pspp-builds.git 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;