Update of /usr/cvsroot/asterisk/stdtime
In directory mongoose.digium.com:/tmp/cvs-serv4955/stdtime

Modified Files:
      Tag: v1-0
        localtime.c 
Log Message:
FreeBSD compile warning (bug #3938)


Index: localtime.c
===================================================================
RCS file: /usr/cvsroot/asterisk/stdtime/localtime.c,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- localtime.c 31 Aug 2004 13:39:04 -0000      1.9
+++ localtime.c 5 Apr 2005 05:59:30 -0000       1.9.2.1
@@ -89,7 +89,9 @@
 
 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 */

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to