Index: trunk/src/route-rnd/route-rnd.h =================================================================== --- trunk/src/route-rnd/route-rnd.h (revision 1412) +++ trunk/src/route-rnd/route-rnd.h (revision 1413) @@ -63,7 +63,7 @@ int (*save_end)(rtrnd_t *ctx, FILE *f); }; -vtp0_t rtrnd_all_io; +extern vtp0_t rtrnd_all_io; typedef struct rtrnd_export_s { const char *name; @@ -70,8 +70,9 @@ /* export a layer (or all layers if layer == NULL) */ int (*export)(rtrnd_t *ctx, const char *basename, rtrnd_layer_t *layer, vtp0_t *annot_layers); } rtrnd_export_t; -vtp0_t rtrnd_all_export; +extern vtp0_t rtrnd_all_export; + struct rtrnd_router_s { const char *name, *desc; rtrnd_conf_t *conf; @@ -78,7 +79,7 @@ int (*route)(rtrnd_t *ctx); }; -vtp0_t rtrnd_all_router; +extern vtp0_t rtrnd_all_router; int route_rnd_main(int argc, char *argv[]);