Merge pull request #10339 from miri64/gnrc_pktbuf/cleanup/rm-duplicate-upto

gnrc_pktbuf: deprecate gnrc_pktbuf_duplicate_upto
This commit is contained in:
Martine Lenders 2018-11-13 18:50:02 +01:00 committed by GitHub
commit 83ca890ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,6 +285,11 @@ gnrc_pktsnip_t *gnrc_pktbuf_reverse_snips(gnrc_pktsnip_t *pkt);
*
* The original snip is keeped as is except `users` decremented.
*
* @deprecated This function breaks the abstraction of `gnrc_pktbuf` and its
* only user within the RIOT code base `gnrc_ipv6_ext` is going to
* be reworked so it isn't needed anymore.
* It will be removed after the 2019.04 release.
*
* @param[in,out] pkt The snip to duplicate.
* @param[in] type The type of snip to stop duplication.
*