chiark / gitweb /
movpos: wip multiple movfeatkinds: compiles, not tested
[trains.git] / hostside / safety.h
index ba32a9dbb2ab9fbd2c07928b6d9e67a93d11af05..9ae0caaec0772bc1ef60e017278e87e4326912e6 100644 (file)
@@ -224,7 +224,7 @@ movpos_reserve(Segment *move, int maxdelay_ms, MovPosChange **res_r,
 
 void movpos_unreserve(MovPosChange *reservation /* 0 ok */);
 
-MovPosComb movpos_poscomb_actual(Segment *seg);
+MovPosComb movpos_poscomb_actual(const Segment *seg);
   /* gives actual current position as published by movfeatkind
    *  -1 means not known or cannot be represented as a MovPosComb
    */
@@ -241,7 +241,7 @@ MovPosComb movpos_change_intent(MovPosChange *chg);
   *                       and/or current situation
   */
 
-const char *movpos_pname(Segment *move, MovPosComb poscomb);
+const char *movpos_pname(const Segment *move, MovPosComb poscomb);
 
 MovPosComb movposcomb_update_feature(MovPosComb startpoint,
                                     const MovFeatInfo *mfi,