Ticket #30618: patch-src-toprouter.c.diff

File patch-src-toprouter.c.diff, 1.1 KB (added by zapman@…, 13 years ago)

Fixes llvm compile problem

  • src/toporouter.c

    old new  
    303303  return Settings.LineThickness;
    304304}
    305305
    306 inline gdouble
     306static inline gdouble
    307307cluster_keepaway(toporouter_cluster_t *cluster)
    308308{
    309309  if(cluster) return lookup_keepaway(cluster->netlist->style);
    310310  return lookup_keepaway(NULL);
    311311}
    312312
    313 inline gdouble
     313static inline gdouble
    314314cluster_thickness(toporouter_cluster_t *cluster)
    315315{
    316316  if(cluster) return lookup_thickness(cluster->netlist->style);
     
    925925
    926926#define tv_on_layer(v,l) (l == TOPOROUTER_BBOX(TOPOROUTER_VERTEX(v)->boxes->data)->layer)
    927927
    928 inline gdouble
     928static inline gdouble
    929929min_spacing(toporouter_vertex_t *v1, toporouter_vertex_t *v2)
    930930{
    931931
     
    949949}
    950950
    951951// v1 is a vertex in the CDT, and v2 is a net... other way around?
    952 inline gdouble
     952static inline gdouble
    953953min_vertex_net_spacing(toporouter_vertex_t *v1, toporouter_vertex_t *v2)
    954954{
    955955
     
    966966  return ms;
    967967}
    968968
    969 inline gdouble
     969static inline gdouble
    970970min_oproute_vertex_spacing(toporouter_oproute_t *oproute, toporouter_vertex_t *v2)
    971971{
    972972