diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-03 23:23:36 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-03 23:23:36 +0000 |
commit | 33add137fbfb4c551575252a0596bf7232a6e9a5 (patch) | |
tree | fad2e20b66cedc3893675bdf3569521767453ecb /stdtime | |
parent | 4ce1edc05cec917ad15513344d46fed1e35b6f58 (diff) |
one more FreeBSD compile warning fix (bug #3938)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5374 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'stdtime')
-rwxr-xr-x | stdtime/localtime.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdtime/localtime.c b/stdtime/localtime.c index 2f9d412fd..7adaabf1d 100755 --- a/stdtime/localtime.c +++ b/stdtime/localtime.c @@ -89,7 +89,9 @@ static const char elsieid[] = "@(#)localtime.c 7.57"; static char wildabbr[] = "WILDABBR"; -static const char gmt[] = "GMT"; +/* FreeBSD defines 'zone' in 'struct tm' as non-const, so don't declare this + string as const. */ +static char gmt[] = "GMT"; struct ttinfo { /* time type information */ long tt_gmtoff; /* GMT offset in seconds */ |