Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
cf479fdc
Commit
cf479fdc
authored
May 24, 2000
by
David Lawrence
Browse files
removed unused static function violate_locking_hierarchy
parent
604a596b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dns/dispatch.c
View file @
cf479fdc
...
...
@@ -164,15 +164,6 @@ static void destroy_mgr(dns_dispatchmgr_t **mgrp);
#define LVL(x) ISC_LOG_DEBUG(x)
static
inline
void
violate_locking_hierarchy
(
isc_mutex_t
*
have
,
isc_mutex_t
*
want
)
{
if
(
isc_mutex_trylock
(
want
)
!=
ISC_R_SUCCESS
)
{
UNLOCK
(
have
);
LOCK
(
want
);
LOCK
(
have
);
}
}
static
void
mgr_log
(
dns_dispatchmgr_t
*
mgr
,
int
level
,
const
char
*
fmt
,
...)
{
char
msgbuf
[
2048
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment