X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm_semihosting.c;h=21b7809c285b04d09294df1c8606e6cfdec67e00;hb=3160c66408af858c3064e54fb14f074e54ac6701;hp=06a433f22b7233e96d08f3d7c3e19ad421f84c30;hpb=b675edcc95935cbdf77002db1e261536026f4cbe;p=openocd.git diff --git a/src/target/arm_semihosting.c b/src/target/arm_semihosting.c index 06a433f22b..21b7809c28 100644 --- a/src/target/arm_semihosting.c +++ b/src/target/arm_semihosting.c @@ -48,7 +48,7 @@ #include #include -static int open_modeflags[12] = { +static const int open_modeflags[12] = { O_RDONLY, O_RDONLY | O_BINARY, O_RDWR,