warning fixes
[libfirm] / ir / be / becopyilp1.c
index 2a0aca4..c6b287f 100644 (file)
@@ -13,6 +13,8 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
+#ifdef WITH_ILP
+
 #include "becopyilp_t.h"
 
 #define DEBUG_LVL 1
@@ -22,14 +24,13 @@ typedef struct _my_env_t {
 } my_env_t;
 
 
-static void ilp1_build(ilp_env_t *ienv) {
-       ienv->lp = new_lpp(ienv->co->name, lpp_minimize);
+int co_solve_ilp1(copy_opt_t *co, double time_limit) {
+       return 1;
 }
 
-static void ilp1_apply(ilp_env_t *ienv) {
+#else /* WITH_ILP */
 
+static INLINE void only_that_you_can_compile_without_WITH_ILP_defined(void) {
 }
 
-int co_solve_ilp1(copy_opt_t *co, double time_limit) {
-       return 1;
-}
+#endif /* WITH_ILP */