summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/fl_ask.H2
-rw-r--r--fluid/file.cxx5
2 files changed, 4 insertions, 3 deletions
diff --git a/FL/fl_ask.H b/FL/fl_ask.H
index a3713e0c1..ad1b7b236 100644
--- a/FL/fl_ask.H
+++ b/FL/fl_ask.H
@@ -39,6 +39,8 @@ enum Fl_Beep {
};
# ifdef __GNUC__
+/* the GNUC-specific attribute appearing below in prototypes with a variable list of arguments
+ helps detection of mismatches between format string and argument list at compilation time */
# define __fl_attr(x) __attribute__ (x)
# else
# define __fl_attr(x)
diff --git a/fluid/file.cxx b/fluid/file.cxx
index 128c8e12a..f4cf18c1c 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -26,6 +26,8 @@
#include "../src/flstring.h"
#include <stdarg.h>
#include "alignment_panel.h"
+#include <FL/Fl.H>
+#include "Fl_Widget_Type.h"
////////////////////////////////////////////////////////////////
// BASIC FILE WRITING:
@@ -292,9 +294,6 @@ const char *read_word(int wantbrace) {
////////////////////////////////////////////////////////////////
-#include <FL/Fl.H>
-#include "Fl_Widget_Type.h"
-
// global int variables:
extern int i18n_type;
extern const char* i18n_include;