Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cc38a75

Browse files
committedAug 14, 2019
Merge branch 'V5-8-patches'
* V5-8-patches: include/net-snmp/types.h: Remove a superfluous forward declaration doxygen.conf: Fix INCLUDE_PATH libsnmp, feature checking: Trigger a syntax error if the terminating semicolon is missing treewide: Terminate netsnmp_feature_*() uses with a semicolon
2 parents 3d4b68b + f124907 commit cc38a75

File tree

236 files changed

+890
-889
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

236 files changed

+890
-889
lines changed
 

‎agent/agent_handler.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727

2828
#include <net-snmp/agent/bulk_to_next.h>
2929

30-
netsnmp_feature_child_of(agent_handler, libnetsnmpagent)
30+
netsnmp_feature_child_of(agent_handler, libnetsnmpagent);
3131

32-
netsnmp_feature_child_of(handler_mark_requests_as_delegated, agent_handler)
32+
netsnmp_feature_child_of(handler_mark_requests_as_delegated, agent_handler);
3333

3434
static netsnmp_mib_handler *_clone_handler(netsnmp_mib_handler *it);
3535

@@ -667,7 +667,7 @@ netsnmp_call_next_handler(netsnmp_mib_handler *current,
667667
*
668668
* @return Returns SNMPERR_SUCCESS or SNMP_ERR_* error code.
669669
*/
670-
netsnmp_feature_child_of(netsnmp_call_next_handler_one_request,netsnmp_unused)
670+
netsnmp_feature_child_of(netsnmp_call_next_handler_one_request,netsnmp_unused);
671671
#ifndef NETSNMP_FEATURE_REMOVE_NETSNMP_CALL_NEXT_HANDLER_ONE_REQUEST
672672
NETSNMP_INLINE int
673673
netsnmp_call_next_handler_one_request(netsnmp_mib_handler *current,

‎agent/agent_index.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
#include "agentx/client.h"
5050
#endif
5151

52-
netsnmp_feature_child_of(agent_index_all, libnetsnmpagent)
52+
netsnmp_feature_child_of(agent_index_all, libnetsnmpagent);
5353

54-
netsnmp_feature_child_of(remove_index, agent_index_all)
54+
netsnmp_feature_child_of(remove_index, agent_index_all);
5555

5656
/*
5757
* Initial support for index allocation
@@ -454,7 +454,7 @@ register_index(netsnmp_variable_list * varbind, int flags,
454454
* Release an allocated index,
455455
* to allow it to be used elsewhere
456456
*/
457-
netsnmp_feature_child_of(release_index,netsnmp_unused)
457+
netsnmp_feature_child_of(release_index,netsnmp_unused);
458458
#ifndef NETSNMP_FEATURE_REMOVE_RELEASE_INDEX
459459
int
460460
release_index(netsnmp_variable_list * varbind)
@@ -597,7 +597,7 @@ unregister_index(netsnmp_variable_list * varbind, int remember,
597597
return SNMP_ERR_NOERROR;
598598
}
599599

600-
netsnmp_feature_child_of(unregister_indexes,netsnmp_unused)
600+
netsnmp_feature_child_of(unregister_indexes,netsnmp_unused);
601601
#ifndef NETSNMP_FEATURE_REMOVE_UNREGISTER_INDEXES
602602
int
603603
unregister_string_index(oid * name, size_t name_len, char *cp)
@@ -704,7 +704,7 @@ dump_idx_registry(void)
704704
}
705705
}
706706

707-
netsnmp_feature_child_of(count_indexes, netsnmp_unused)
707+
netsnmp_feature_child_of(count_indexes, netsnmp_unused);
708708
#ifndef NETSNMP_FEATURE_REMOVE_UNUSED
709709
unsigned long
710710
count_indexes(oid * name, size_t namelen, int include_unallocated)

0 commit comments

Comments
 (0)
Please sign in to comment.