warning fixes
authorMatthias Braun <matze@braunis.de>
Mon, 18 Dec 2006 12:35:15 +0000 (12:35 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 18 Dec 2006 12:35:15 +0000 (12:35 +0000)
ir/be/becopyilp1.c
ir/be/becopyilp2.c
ir/be/beilpsched.c

index 063d0dc..c6b287f 100644 (file)
@@ -30,7 +30,7 @@ int co_solve_ilp1(copy_opt_t *co, double time_limit) {
 
 #else /* WITH_ILP */
 
-static void only_that_you_can_compile_without_WITH_ILP_defined(void) {
+static INLINE void only_that_you_can_compile_without_WITH_ILP_defined(void) {
 }
 
 #endif /* WITH_ILP */
index 6aaf689..9e2cf82 100644 (file)
@@ -533,7 +533,7 @@ int co_solve_ilp2(copy_opt_t *co) {
 
 #else /* WITH_ILP */
 
-static void only_that_you_can_compile_without_WITH_ILP_defined(void) {
+static INLINE void only_that_you_can_compile_without_WITH_ILP_defined(void) {
 }
 
 #endif /* WITH_ILP */
index 713745c..730f4c2 100644 (file)
@@ -1906,6 +1906,7 @@ void ilpsched_register_options(lc_opt_entry_t *grp) {
 
 #else /* WITH_ILP */
 
-static int some_picky_compiler_do_not_allow_empty_files;
+static INLINE void some_picky_compiler_do_not_allow_empty_files(void)
+{}
 
 #endif /* WITH_ILP */