Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5ccd9915
Commit
5ccd9915
authored
Oct 16, 2009
by
Josh Triplett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dtc: Mark various internal functions static
Signed-off-by:
Josh Triplett
<
josh@joshtriplett.org
>
parent
23c4ace5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
scripts/dtc/data.c
scripts/dtc/data.c
+1
-1
scripts/dtc/libfdt/fdt_ro.c
scripts/dtc/libfdt/fdt_ro.c
+1
-1
scripts/dtc/treesource.c
scripts/dtc/treesource.c
+1
-1
No files found.
scripts/dtc/data.c
View file @
5ccd9915
...
@@ -217,7 +217,7 @@ struct data data_insert_at_marker(struct data d, struct marker *m,
...
@@ -217,7 +217,7 @@ struct data data_insert_at_marker(struct data d, struct marker *m,
return
d
;
return
d
;
}
}
struct
data
data_append_markers
(
struct
data
d
,
struct
marker
*
m
)
st
atic
st
ruct
data
data_append_markers
(
struct
data
d
,
struct
marker
*
m
)
{
{
struct
marker
**
mp
=
&
d
.
markers
;
struct
marker
**
mp
=
&
d
.
markers
;
...
...
scripts/dtc/libfdt/fdt_ro.c
View file @
5ccd9915
...
@@ -411,7 +411,7 @@ int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
...
@@ -411,7 +411,7 @@ int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
&
phandle
,
sizeof
(
phandle
));
&
phandle
,
sizeof
(
phandle
));
}
}
int
_stringlist_contains
(
const
char
*
strlist
,
int
listlen
,
const
char
*
str
)
static
int
_stringlist_contains
(
const
char
*
strlist
,
int
listlen
,
const
char
*
str
)
{
{
int
len
=
strlen
(
str
);
int
len
=
strlen
(
str
);
const
char
*
p
;
const
char
*
p
;
...
...
scripts/dtc/treesource.c
View file @
5ccd9915
...
@@ -52,7 +52,7 @@ static void write_prefix(FILE *f, int level)
...
@@ -52,7 +52,7 @@ static void write_prefix(FILE *f, int level)
fputc
(
'\t'
,
f
);
fputc
(
'\t'
,
f
);
}
}
int
isstring
(
char
c
)
static
int
isstring
(
char
c
)
{
{
return
(
isprint
(
c
)
return
(
isprint
(
c
)
||
(
c
==
'\0'
)
||
(
c
==
'\0'
)
...
...
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