proto.h: avoid warning about not really deprecated (Clang)

proto.h:853:5: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]
proto.h:866:5: warning: declaration is marked with '\deprecated' command but does not have a deprecation attribute [-Wdocumentation-deprecated-sync]

Change-Id: I6da6048b2c4e2860f655ae595f4f800587c63217
Reviewed-on: https://code.wireshark.org/review/32770
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2019-04-07 09:05:40 +00:00 committed by Anders Broman
parent 59a1e65170
commit ae3e6712f3
1 changed files with 2 additions and 2 deletions

View File

@ -850,7 +850,7 @@ typedef proto_node proto_item;
#define PNODE_POOL(proto_node) ((proto_node)->tree_data->pinfo->pool)
/** Is this protocol field hidden from the protocol tree display? Used for filtering only.
* @deprecated HIDING PROTOCOL FIELDS IS DEPRECATED. IT'S CONSIDERED TO BE BAD GUI DESIGN!
* deprecated HIDING PROTOCOL FIELDS IS DEPRECATED. IT'S CONSIDERED TO BE BAD GUI DESIGN!
* @param ti The item to check. May be NULL.
* @return TRUE if the item is hidden, FALSE otherwise.
*/
@ -863,7 +863,7 @@ static inline gboolean proto_item_is_hidden(proto_item *ti) {
#define PROTO_ITEM_IS_HIDDEN(ti) proto_item_is_hidden((ti))
/** Mark this protocol field to be hidden from the protocol tree display. Used for filtering only.
* @deprecated HIDING PROTOCOL FIELDS IS DEPRECATED. IT'S CONSIDERED TO BE BAD GUI DESIGN!
* deprecated HIDING PROTOCOL FIELDS IS DEPRECATED. IT'S CONSIDERED TO BE BAD GUI DESIGN!
* @param ti The item to hide. May be NULL.
*/
static inline void proto_item_set_hidden(proto_item *ti) {