mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
dtc: Mark various internal functions static
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
parent
23c4ace526
commit
5ccd991548
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
static struct data data_append_markers(struct data d, struct marker *m)
|
||||||
{
|
{
|
||||||
struct marker **mp = &d.markers;
|
struct marker **mp = &d.markers;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue