From 147c7169e859128e86da96275c48d200ad720fd6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 23 Apr 2011 23:43:21 +0000 Subject: constify default env I can't see any obvious needs for the default environment to be writable, so make it const. Signed-off-by: Mike Frysinger --- common/env_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/env_flash.c') diff --git a/common/env_flash.c b/common/env_flash.c index 456f2e8375..50ca4ffa56 100644 --- a/common/env_flash.c +++ b/common/env_flash.c @@ -74,7 +74,7 @@ static env_t *flash_addr_new = (env_t *)CONFIG_ENV_ADDR_REDUND; static ulong end_addr_new = CONFIG_ENV_ADDR_REDUND + CONFIG_ENV_SECT_SIZE - 1; #endif /* CONFIG_ENV_ADDR_REDUND */ -extern uchar default_environment[]; +extern const uchar default_environment[]; uchar env_get_char_spec(int index) -- cgit v1.2.3