mark the DES magic number arrays const
authorDan Winship <danw@src.gnome.org>
Sat, 9 Feb 2008 05:08:29 +0000 (05:08 +0000)
committerDan Winship <danw@src.gnome.org>
Sat, 9 Feb 2008 05:08:29 +0000 (05:08 +0000)
commit419aa03177361d7ccc8c51f5838193bf7b69aa77
tree5fbf6b7476b267c956adcb172ad17d91f226d27a
parent801cefbcf058518a60360e1297c63b482e267655
mark the DES magic number arrays const

* libsoup/soup-auth-manager-ntlm.c: mark the DES magic number
arrays const

* libsoup/soup-date.c (months, days): add an extra "const" to each
of these declarations, as one "const" is apparently not enough.
(soup_date_to_time_t): remove redundant copy of days_before array.

* libsoup/soup-dns.c (soup_dns_init): use g_once_init_enter/leave

* libsoup/soup-gnutls.c (soup_ssl_supported)
(soup_gnutls_channel_funcs): Mark these const
(soup_gnutls_init, init_dh_params): Use g_once_init_enter/leave

* libsoup/soup-status.c (reason_phrases): mark this const

* tests/ssl-test.c: Remove the workaround for soup_gnutls_init()
not being thread-safe, since it is now.

svn path=/trunk/; revision=1080
ChangeLog
libsoup/soup-auth-manager-ntlm.c
libsoup/soup-date.c
libsoup/soup-dns.c
libsoup/soup-gnutls.c
libsoup/soup-misc.h
libsoup/soup-nossl.c
libsoup/soup-status.c
tests/ssl-test.c