From eab599c151617eef9035343fd63591fa4d09bd3e Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 26 Sep 2014 22:35:38 +0200 Subject: plist.h: Move deprecation marker before function declaration to make non-gcc/clang compilers happy --- include/plist/plist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/plist/plist.h b/include/plist/plist.h index 1413204..7dbc4ae 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h @@ -361,7 +361,8 @@ extern "C" * @param item the new item to insert * @param key The identifier of the item to insert. */ - 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"); + 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); /** * Remove an existing position in a #PLIST_DICT node. -- cgit v1.1-32-gdbae