From: John Darrington Date: Sat, 1 Nov 2008 06:10:50 +0000 (+0900) Subject: Move definition of OUTPUT_FILE_NAME to before first use. X-Git-Tag: v0.7.1~6^2~2 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7e825aff8143a6624899a4594707fafb1ad82f;p=pspp-builds.git Move definition of OUTPUT_FILE_NAME to before first use. Problem manifested itself when building with cygwin. Reported by unknown-1 --- diff --git a/src/ui/gui/output-viewer.c b/src/ui/gui/output-viewer.c index c00e8c60..2b0c4af8 100644 --- a/src/ui/gui/output-viewer.c +++ b/src/ui/gui/output-viewer.c @@ -194,6 +194,7 @@ reload_the_viewer (void) reload_viewer (the_output_viewer); } +#define OUTPUT_FILE_NAME "psppire.txt" void reload_viewer (struct output_viewer *ov) @@ -277,7 +278,7 @@ reload_viewer (struct output_viewer *ov) } -#define OUTPUT_FILE_NAME "psppire.txt" + const char * output_file_name (void)