Skip to content

Commit

Permalink
dtc: Mark various internal functions static
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Triplett <[email protected]>
  • Loading branch information
joshtriplett committed Nov 15, 2009
1 parent 23c4ace commit 5ccd991
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/dtc/data.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ struct data data_insert_at_marker(struct data d, struct marker *m,
return d;
}

struct data data_append_markers(struct data d, struct marker *m)
static struct data data_append_markers(struct data d, struct marker *m)
{
struct marker **mp = &d.markers;

Expand Down
2 changes: 1 addition & 1 deletion scripts/dtc/libfdt/fdt_ro.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ int fdt_node_offset_by_phandle(const void *fdt, uint32_t 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);
const char *p;
Expand Down
2 changes: 1 addition & 1 deletion scripts/dtc/treesource.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static void write_prefix(FILE *f, int level)
fputc('\t', f);
}

int isstring(char c)
static int isstring(char c)
{
return (isprint(c)
|| (c == '\0')
Expand Down

0 comments on commit 5ccd991

Please sign in to comment.