summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-09-26 22:35:38 +0200
committerGravatar Nikias Bassen2014-09-26 22:35:38 +0200
commiteab599c151617eef9035343fd63591fa4d09bd3e (patch)
tree9f2d854e8d0141677bce4e1c265e3f4a40c15487 /include
parent7377026506597fa96853e8e178d51952c9809e7e (diff)
downloadlibplist-eab599c151617eef9035343fd63591fa4d09bd3e.tar.gz
libplist-eab599c151617eef9035343fd63591fa4d09bd3e.tar.bz2
plist.h: Move deprecation marker before function declaration to make non-gcc/clang compilers happy
Diffstat (limited to 'include')
-rw-r--r--include/plist/plist.h3
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.