From 135164ae0676ccd2f5cbb9f88d4ea4bd35d1a584 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 20 May 2014 23:43:36 +0200 Subject: Move deprecation marker after the function declaration for better compiler output --- include/plist/plist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.1-32-gdbae