pidgin/pidgin

Fix build with clang 11.0.0

6 weeks ago, Steve Wills
85c82288a969
Parents 7aaabf0b8500
Children 6af4d993c8e5
Fix build with clang 11.0.0

Testing Done:
Built on FreeBSD 13 CURRENT with clang 11.0.0

Built on debian unstable with gcc to verify no changes there. -GK

Reviewed at https://reviews.imfreedom.org/r/167/
--- a/libpurple/util.h Wed Oct 14 19:46:11 2020 -0500
+++ b/libpurple/util.h Wed Oct 14 20:44:46 2020 -0500
@@ -418,7 +418,7 @@
* Deprecated: Use purple_cache_dir(), purple_config_dir() or
* purple_data_dir() instead.
*/
-G_DEPRECATED_FOR(purple_cache_dir' or 'purple_config_dir' or 'purple_data_dir)
+G_DEPRECATED_FOR('purple_cache_dir' or 'purple_config_dir' or 'purple_data_dir')
const char *purple_user_dir(void);
/**
@@ -499,7 +499,7 @@
* purple_util_write_data_to_config_file() or
* purple_util_write_data_to_data_file() instead.
*/
-G_DEPRECATED_FOR(purple_util_write_data_to_cache_file' or 'purple_util_write_data_to_config_file' or 'purple_util_write_data_to_data_file)
+G_DEPRECATED_FOR('purple_util_write_data_to_cache_file' or 'purple_util_write_data_to_config_file' or 'purple_util_write_data_to_data_file')
gboolean purple_util_write_data_to_file(const char *filename, const char *data,
gssize size);
@@ -593,7 +593,7 @@
* purple_util_read_xml_from_config_file() or
* purple_util_read_xml_from_data_file() instead.
*/
-G_DEPRECATED_FOR(purple_util_read_xml_from_cache_file' or 'purple_util_read_xml_from_config_file' or 'purple_util_read_xml_from_data_file)
+G_DEPRECATED_FOR('purple_util_read_xml_from_cache_file' or 'purple_util_read_xml_from_config_file' or 'purple_util_read_xml_from_data_file')
PurpleXmlNode *purple_util_read_xml_from_file(const char *filename,
const char *description);