Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mike Perry
Tor
Commits
c4584520
Commit
c4584520
authored
Jun 08, 2005
by
Nick Mathewson
🎨
Browse files
Fix warning about unused function when compiling with ancient libevent
svn:r4355
parent
44e85544
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/config.c
View file @
c4584520
...
...
@@ -217,8 +217,9 @@ static uint64_t config_parse_memunit(const char *s, int *ok);
static
int
config_parse_interval
(
const
char
*
s
,
int
*
ok
);
static
void
print_cvs_version
(
void
);
static
int
init_libevent
(
void
);
#if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD)
static
void
check_libevent_version
(
const
char
*
m
,
const
char
*
v
,
int
server
);
#endif
/*
* Functions to read and write the global options pointer.
...
...
@@ -2652,7 +2653,7 @@ init_libevent(void)
return
0
;
}
#if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD)
/**
* Compare the given libevent method and version to a list of versions
* which are known not to work. Warn the user as appropriate.
...
...
@@ -2697,6 +2698,7 @@ check_libevent_version(const char *m, const char *v, int server)
}
}
#endif
static
void
print_cvs_version
(
void
)
...
...
Write
Preview
Supports
Markdown
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