Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
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
jarl
tor
Commits
3465c4de
Commit
3465c4de
authored
21 years ago
by
Roger Dingledine
Browse files
Options
Downloads
Patches
Plain Diff
make it compile
svn:r923
parent
f4cb5d8c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/util.c
+1
-1
1 addition, 1 deletion
src/common/util.c
src/common/util.h
+1
-1
1 addition, 1 deletion
src/common/util.h
with
2 additions
and
2 deletions
src/common/util.c
+
1
−
1
View file @
3465c4de
...
...
@@ -130,7 +130,7 @@ void smartlist_intersect(smartlist_t *sl1, smartlist_t *sl2) {
}
/* remove all elements of sl2 from sl1 */
void
smartlist_subtract
(
smartlist_t
*
sl1
,
smartlist
*
sl2
)
{
void
smartlist_subtract
(
smartlist_t
*
sl1
,
smartlist
_t
*
sl2
)
{
int
i
;
for
(
i
=
0
;
i
<
sl2
->
num_used
;
i
++
)
smartlist_remove
(
sl1
,
sl2
->
list
[
i
]);
...
...
This diff is collapsed.
Click to expand it.
src/common/util.h
+
1
−
1
View file @
3465c4de
...
...
@@ -52,7 +52,7 @@ void smartlist_remove(smartlist_t *sl, void *element);
int
smartlist_isin
(
smartlist_t
*
sl
,
void
*
element
);
int
smartlist_overlap
(
smartlist_t
*
sl1
,
smartlist_t
*
sl2
);
void
smartlist_intersect
(
smartlist_t
*
sl1
,
smartlist_t
*
sl2
);
void
smartlist_subtract
(
smartlist_t
*
sl1
,
smartlist
*
sl2
);
void
smartlist_subtract
(
smartlist_t
*
sl1
,
smartlist
_t
*
sl2
);
void
*
smartlist_choose
(
smartlist_t
*
sl
);
const
char
*
eat_whitespace
(
const
char
*
s
);
...
...
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