Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
99
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
8de421c7
Commit
8de421c7
authored
1 year ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
userspace/snmpd/wrsTableTemplate: run a function if defined as TT_POST_INIT_FUNC
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
d048e8f2
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
userspace/snmpd/wrsTableTemplate.h
+4
-0
4 additions, 0 deletions
userspace/snmpd/wrsTableTemplate.h
with
4 additions
and
0 deletions
userspace/snmpd/wrsTableTemplate.h
+
4
−
0
View file @
8de421c7
...
...
@@ -157,4 +157,8 @@ void TT_INIT_FUNC(void)
wrsTT_oid
,
OID_LENGTH
(
wrsTT_oid
)));
/* If the function is defined, run it */
#ifdef TT_POST_INIT_FUNC
TT_POST_INIT_FUNC
();
#endif
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment