fix weak external functions
[libfirm] / ir / tv / tv_t.h
index aa6ea2c..4554c74 100644 (file)
@@ -28,7 +28,6 @@
 #ifndef FIRM_TV_TV_T_H
 #define FIRM_TV_TV_T_H
 
-#include "firm_config.h"
 #include "firm_common.h"
 
 #include <assert.h>
@@ -50,9 +49,12 @@ enum reserved_id {
  *
  * Call before init_mode().
  *
- * @param null_value  The reference mode NULL value, typical 0l
+ * @param null_value
+ *            The reference mode NULL value, typical 0l
+ * @param support_quad_precision
+ *            If non-zero, activate support for quad precision
  */
-void init_tarval_1(long null_value);
+void init_tarval_1(long null_value, int support_quad_precision);
 
 /**
  * Initialization of the tarval module.
@@ -90,43 +92,43 @@ struct tarval {
 /*
  * Access routines for tarval fields ========================================
  */
-static INLINE ir_mode *
+static inline ir_mode *
 _get_tarval_mode(const tarval *tv) {
        assert(tv);
        return tv->mode;
 }
 
-static INLINE tarval *
+static inline tarval *
 _get_tarval_bad(void) {
        return tarval_bad;
 }
 
-static INLINE tarval *
+static inline tarval *
 _get_tarval_undefined(void) {
        return tarval_undefined;
 }
 
-static INLINE tarval *
+static inline tarval *
 _get_tarval_b_false(void) {
        return tarval_b_false;
 }
 
-static INLINE tarval *
+static inline tarval *
 _get_tarval_b_true(void) {
        return tarval_b_true;
 }
 
-static INLINE tarval *
+static inline tarval *
 _get_tarval_reachable(void) {
        return tarval_reachable;
 }
 
-static INLINE tarval *
+static inline tarval *
 _get_tarval_unreachable(void) {
        return tarval_unreachable;
 }
 
-static INLINE int
+static inline int
 _is_tarval(const void *thing) {
        return get_kind(thing) == k_tarval;
 }
@@ -138,7 +140,6 @@ _is_tarval(const void *thing) {
 #define get_tarval_b_true()      _get_tarval_b_true()
 #define get_tarval_unreachable() _get_tarval_unreachable()
 #define get_tarval_reachable()   _get_tarval_reachable()
-#define get_tarval_P_void()      _get_tarval_P_void()
 #define is_tarval(thing)         _is_tarval(thing)
 
 #endif /* FIRM_TV_TV_T_H */