identifiers starting with _ are reserved; remove this bad practice
[libfirm] / include / libfirm / iropt.h
index 11c1063..0315ae1 100644 (file)
@@ -56,7 +56,7 @@
  *     Avoid floating point constant folding. Useful for frontends which do not
  *     create arithmetic operations in the backends arithmetic mode.
  */
-typedef enum _fp_model_t {
+typedef enum fp_model_t {
        fp_explicit_rounding  = (1u << 0),  /**< Explicit rounding at assignments, typecasts, return
                                          and function calls. Conv nodes may NOT be removed, even
                                          if they look useless. */
@@ -83,7 +83,7 @@ typedef enum _fp_model_t {
 /** If the expression referenced can be evaluated statically
  *  computed_value returns a tarval representing the result.
  *  Else returns tarval_bad. */
-FIRM_DLL tarval *computed_value(const ir_node *n);
+FIRM_API tarval *computed_value(const ir_node *n);
 
 /** Applies all optimizations to n that are expressible as a pattern
  *  in Firm, i.e., they need not a walk of the graph.
@@ -93,7 +93,7 @@ FIRM_DLL tarval *computed_value(const ir_node *n);
  *  An equivalent optimization is applied in the constructors defined in
  *  ircons.ch.  There n is freed if a better node could be found.
  */
-FIRM_DLL ir_node *optimize_in_place(ir_node *n);
+FIRM_API ir_node *optimize_in_place(ir_node *n);
 
 #include "end.h"