summaryrefslogtreecommitdiff
path: root/tests/parent_offset.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parent_offset.c')
-rw-r--r--tests/parent_offset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/parent_offset.c b/tests/parent_offset.c
index 8336c72..e7affcc 100644
--- a/tests/parent_offset.c
+++ b/tests/parent_offset.c
@@ -28,7 +28,7 @@
#include "tests.h"
#include "testdata.h"
-int path_parent_len(const char *path)
+static int path_parent_len(const char *path)
{
const char *p = strrchr(path, '/');
@@ -40,7 +40,7 @@ int path_parent_len(const char *path)
return p - path;
}
-void check_path(struct fdt_header *fdt, const char *path)
+static void check_path(struct fdt_header *fdt, const char *path)
{
char *parentpath;
int nodeoffset, parentoffset, parentpathoffset, pathparentlen;