make compile
authorChristian Grothoff <christian@grothoff.org>
Fri, 25 Mar 2011 07:05:58 +0000 (07:05 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 25 Mar 2011 07:05:58 +0000 (07:05 +0000)
src/transport/gnunet-service-transport.c

index 675d063d9bd9f63709e92c25910918b08b82b414..c83e5398d017b32bfc30256bed25f21d86fa0c4f 100644 (file)
@@ -5557,10 +5557,18 @@ struct ATS_transports
        double c_1;
 };
 
-#define FUNCTION ats_create_problem (int peers, int transports, double b_min, double b_max, double r, double R, const struct ATS_peer * pl, const struct ATS_transports * tl, int max_it, int max_dur)
 
 #if HAVE_LIBGLPK
-glp_prob * FUNCTION
+static glp_prob *
+ats_create_problem (int peers,
+                   int transports, 
+                   double b_min, 
+                   double b_max,
+                   double r, double R, 
+                   const struct ATS_peer * pl, 
+                   const struct ATS_transports * tl, 
+                   int max_it, 
+                   int max_dur)
 {
        int result = GLP_UNDEF;
        int c1, c2;
@@ -5764,9 +5772,18 @@ glp_prob * FUNCTION
        return lp;
 }
 #else
-void * FUNCTION
+static void *
+ats_create_problem (int peers,
+                   int transports, 
+                   double b_min, 
+                   double b_max,
+                   double r, double R, 
+                   const struct ATS_peer * pl, 
+                   const struct ATS_transports * tl, 
+                   int max_it, 
+                   int max_dur)
 {
-
+  return NULL;
 }
 #endif