Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
ae58303d
Commit
ae58303d
authored
12 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Even more code-removal for 6826
(Pull on a thread and the whole sweater unravels.)
parent
2386a98d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/compat_libevent.c
+5
-3
5 additions, 3 deletions
src/common/compat_libevent.c
with
5 additions
and
3 deletions
src/common/compat_libevent.c
+
5
−
3
View file @
ae58303d
...
...
@@ -54,7 +54,9 @@ typedef uint32_t le_version_t;
* it is. */
#define LE_OTHER V(0,0,99)
#if 0
static le_version_t tor_get_libevent_version(const char **v_out);
#endif
#if defined(HAVE_EVENT_SET_LOG_CALLBACK) || defined(RUNNING_DOXYGEN)
/** A string which, if it appears in a libevent log, should be ignored. */
...
...
@@ -364,6 +366,7 @@ le_versions_compatibility(le_version_t v)
return
5
;
}
#if 0
/** Return the version number of the currently running version of Libevent.
* See le_version_t for info on the format.
*/
...
...
@@ -386,6 +389,7 @@ tor_get_libevent_version(const char **v_out)
*
v_out
=
v
;
return
r
;
}
#endif
/** Return a string representation of the version of the currently running
* version of Libevent. */
...
...
@@ -408,13 +412,11 @@ tor_check_libevent_version(const char *m, int server,
const
char
**
badness_out
)
{
int
thread_unsafe
=
0
;
le_version_t
version
;
const
char
*
v
=
NULL
;
const
char
*
badness
=
NULL
;
const
char
*
sad_os
=
""
;
(
void
)
m
;
version
=
tor_get_libevent_version
(
&
v
);
(
void
)
server
;
/* Libevent versions before 1.3b do very badly on operating systems with
* user-space threading implementations. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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