asterisk/main/stdtime
Matthew Jordan 1cf949c489 clang compiler warnings: Fix warning for -Wgnu-variable-sized-type-not-at-end
This patch fixes a warning caught by clang, wherein a variable sized struct is
not located at the end of a struct. While the code in question actually
expected this, this is a good warning to watch for. Hence, this patch refactors
the code in question to not have two variable length elements in the same
struct.

Review: https://reviewboard.asterisk.org/r/4530/

ASTERISK-24917
Reported by: dkdegroot
patches:
  rb4530.patch submitted by dkdegroot (License 6600)
........

Merged revisions 433717 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 433718 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-03-30 01:53:15 +00:00
..
localtime.c clang compiler warnings: Fix warning for -Wgnu-variable-sized-type-not-at-end 2015-03-30 01:53:15 +00:00
Makefile Merged revisions 157859 via svnmerge from 2008-11-20 00:08:12 +00:00
private.h Merged revisions 82285 via svnmerge from 2007-09-12 21:25:57 +00:00
test.c Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
tzfile.h Merged revisions 82291 via svnmerge from 2007-09-12 21:32:24 +00:00