summaryrefslogtreecommitdiffstats
path: root/include/plist/plist.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-05-20 23:43:36 +0200
committerGravatar Nikias Bassen2014-05-20 23:43:36 +0200
commit135164ae0676ccd2f5cbb9f88d4ea4bd35d1a584 (patch)
tree4b5131d7064c94c94a5891177ff238ad864bedd6 /include/plist/plist.h
parenta9ec8fa5ceaa082e36150814f0b9b4d123b00f26 (diff)
downloadlibplist-135164ae0676ccd2f5cbb9f88d4ea4bd35d1a584.tar.gz
libplist-135164ae0676ccd2f5cbb9f88d4ea4bd35d1a584.tar.bz2
Move deprecation marker after the function declaration for better compiler output
Diffstat (limited to 'include/plist/plist.h')
-rw-r--r--include/plist/plist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index 5678cfb..1413204 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -361,7 +361,7 @@ extern "C"
* @param item the new item to insert
* @param key The identifier of the item to insert.
*/
- PLIST_WARN_DEPRECATED("use plist_dict_set_item instead") PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item);
+ PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item) PLIST_WARN_DEPRECATED("use plist_dict_set_item instead");
/**
* Remove an existing position in a #PLIST_DICT node.