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

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: I50a462c7a05f36ba60484980fd8ae9026effc047
Reviewed-on: https://code.wireshark.org/review/32922
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2019-04-21 08:06:58 +00:00 committed by Anders Broman
parent 5e636059b3
commit ef44a8151a
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!
* Use with caution, HIDING PROTOCOL FIELDS IS 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!
* Use with caution, HIDING PROTOCOL FIELDS IS 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) {