revision 2
[carveJwlIkooP6JGAAIwe30JlM.git] / ent_route.h
index 65c074f2ca545ab1a9726faf95b3f71421627a9e..ecc3278b72714522d31a58864a5e543537ad9e10 100644 (file)
@@ -1,14 +1,11 @@
-#ifndef ENT_ROUTE_H
-#define ENT_ROUTE_H
-
+#pragma once
 #include "entity.h"
 
-static struct {
+struct global_ent_route
+{
    struct gui_helper *helper_weekly, *helper_alltime;
 }
-global_ent_route;
-
-static void ent_route_call( world_instance *world, ent_call *call );
-static void ent_route_preupdate( ent_route *route, int active );
+extern global_ent_route;
 
-#endif /* ENT_ROUTE_H */
+void ent_route_call( world_instance *world, ent_call *call );
+void ent_route_preupdate( ent_route *route, int active );