Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
2374ba8d
Commit
2374ba8d
authored
Nov 11, 2021
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fuzzers: declare static functions as static
parent
489aec44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fuzzers/config_file_fuzzer.c
+1
-1
fuzzers/download_refs_fuzzer.c
+3
-3
No files found.
fuzzers/config_file_fuzzer.c
View file @
2374ba8d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
#define UNUSED(x) (void)(x)
#define UNUSED(x) (void)(x)
int
foreach_cb
(
const
git_config_entry
*
entry
,
void
*
payload
)
static
int
foreach_cb
(
const
git_config_entry
*
entry
,
void
*
payload
)
{
{
UNUSED
(
entry
);
UNUSED
(
entry
);
UNUSED
(
payload
);
UNUSED
(
payload
);
...
...
fuzzers/download_refs_fuzzer.c
View file @
2374ba8d
...
@@ -132,7 +132,7 @@ static int fuzzer_subtransport_new(
...
@@ -132,7 +132,7 @@ static int fuzzer_subtransport_new(
return
0
;
return
0
;
}
}
int
fuzzer_subtransport_cb
(
static
int
fuzzer_subtransport_cb
(
git_smart_subtransport
**
out
,
git_smart_subtransport
**
out
,
git_transport
*
owner
,
git_transport
*
owner
,
void
*
payload
)
void
*
payload
)
...
@@ -147,7 +147,7 @@ int fuzzer_subtransport_cb(
...
@@ -147,7 +147,7 @@ int fuzzer_subtransport_cb(
return
0
;
return
0
;
}
}
int
fuzzer_transport_cb
(
git_transport
**
out
,
git_remote
*
owner
,
void
*
param
)
static
int
fuzzer_transport_cb
(
git_transport
**
out
,
git_remote
*
owner
,
void
*
param
)
{
{
git_smart_subtransport_definition
def
=
{
git_smart_subtransport_definition
def
=
{
fuzzer_subtransport_cb
,
fuzzer_subtransport_cb
,
...
@@ -157,7 +157,7 @@ int fuzzer_transport_cb(git_transport **out, git_remote *owner, void *param)
...
@@ -157,7 +157,7 @@ int fuzzer_transport_cb(git_transport **out, git_remote *owner, void *param)
return
git_transport_smart
(
out
,
owner
,
&
def
);
return
git_transport_smart
(
out
,
owner
,
&
def
);
}
}
void
fuzzer_git_abort
(
const
char
*
op
)
static
void
fuzzer_git_abort
(
const
char
*
op
)
{
{
const
git_error
*
err
=
git_error_last
();
const
git_error
*
err
=
git_error_last
();
fprintf
(
stderr
,
"unexpected libgit error: %s: %s
\n
"
,
fprintf
(
stderr
,
"unexpected libgit error: %s: %s
\n
"
,
...
...
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