diff options
author | Nikias Bassen | 2014-09-26 22:35:38 +0200 |
---|---|---|
committer | Nikias Bassen | 2014-09-26 22:35:38 +0200 |
commit | eab599c151617eef9035343fd63591fa4d09bd3e (patch) | |
tree | 9f2d854e8d0141677bce4e1c265e3f4a40c15487 | |
parent | 7377026506597fa96853e8e178d51952c9809e7e (diff) | |
download | libplist-eab599c151617eef9035343fd63591fa4d09bd3e.tar.gz libplist-eab599c151617eef9035343fd63591fa4d09bd3e.tar.bz2 |
plist.h: Move deprecation marker before function declaration to make non-gcc/clang compilers happy
-rw-r--r-- | include/plist/plist.h | 3 |
1 files changed, 2 insertions, 1 deletions
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. |