Make function fixed_point_scaling_factor a method of struct type
[deliverable/binutils-gdb.git] / gdb / complaints.h
index b3bb4068e1b65b710b9da8231aee0563e53f327d..6ad056d257efa79d3040db600c158debcecdd7ef 100644 (file)
 extern void complaint_internal (const char *fmt, ...)
   ATTRIBUTE_PRINTF (1, 2);
 
+/* This controls whether complaints are emitted.  */
+
+extern int stop_whining;
+
 /* Register a complaint.  This is a macro around complaint_internal to
    avoid computing complaint's arguments when complaints are disabled.
    Running FMT via gettext [i.e., _(FMT)] can be quite expensive, for
@@ -32,8 +36,6 @@ extern void complaint_internal (const char *fmt, ...)
 #define complaint(FMT, ...)                                    \
   do                                                           \
     {                                                          \
-      extern int stop_whining;                                 \
-                                                               \
       if (stop_whining > 0)                                    \
        complaint_internal (FMT, ##__VA_ARGS__);                \
     }                                                          \
This page took 0.02565 seconds and 4 git commands to generate.