Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nccf
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
702
Provoz
nccf
Commits
84834ff3
Commit
84834ff3
authored
4 years ago
by
Christian Göttsche
Committed by
Yorhel
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Declare file local variables static
(cherry picked from commit ad5b7fce74a3b7b0ed726620c81ea552c643cdad)
parent
53e5080d
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
src/dir_export.c
+1
-1
1 addition, 1 deletion
src/dir_export.c
src/dir_import.c
+1
-1
1 addition, 1 deletion
src/dir_import.c
src/exclude.c
+1
-1
1 addition, 1 deletion
src/exclude.c
src/help.c
+2
-2
2 additions, 2 deletions
src/help.c
src/util.c
+1
-1
1 addition, 1 deletion
src/util.c
with
6 additions
and
6 deletions
src/dir_export.c
+
1
−
1
View file @
84834ff3
...
...
@@ -34,7 +34,7 @@
static
FILE
*
stream
;
/* Stack of device IDs, also used to keep track of the level of nesting */
struct
stack
{
static
struct
stack
{
uint64_t
*
list
;
int
size
,
top
;
}
stack
;
...
...
This diff is collapsed.
Click to expand it.
src/dir_import.c
+
1
−
1
View file @
84834ff3
...
...
@@ -59,7 +59,7 @@ int dir_import_active = 0;
/* Use a struct for easy batch-allocation and deallocation of state data. */
struct
ctx
{
static
struct
ctx
{
FILE
*
stream
;
int
line
;
...
...
This diff is collapsed.
Click to expand it.
src/exclude.c
+
1
−
1
View file @
84834ff3
...
...
@@ -31,7 +31,7 @@
#include
<fnmatch.h>
struct
exclude
{
static
struct
exclude
{
char
*
pattern
;
struct
exclude
*
next
;
}
*
excludes
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
src/help.c
+
2
−
2
View file @
84834ff3
...
...
@@ -29,11 +29,11 @@
#include
<string.h>
int
page
,
start
;
static
int
page
,
start
;
#define KEYS 19
const
char
*
keys
[
KEYS
*
2
]
=
{
static
const
char
*
keys
[
KEYS
*
2
]
=
{
/*|----key----| |----------------description----------------|*/
"up, k"
,
"Move cursor up"
,
"down, j"
,
"Move cursor down"
,
...
...
This diff is collapsed.
Click to expand it.
src/util.c
+
1
−
1
View file @
84834ff3
...
...
@@ -38,7 +38,7 @@ int uic_theme;
int
winrows
,
wincols
;
int
subwinr
,
subwinc
;
int
si
;
char
thou_sep
;
static
char
thou_sep
;
char
*
cropstr
(
const
char
*
from
,
int
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