summaryrefslogtreecommitdiff
path: root/tests/get_phandle.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2008-08-04 15:30:13 +1000
committerJon Loeliger <jdl@jdl.com>2008-08-13 13:04:39 -0500
commit01a2d8a3e9f19cb1f5ee923af23682fad783a799 (patch)
tree30c6d35e57be2f401ed48bba7dcd3d34dd4efab3 /tests/get_phandle.c
parent315c5d095ebdf29f1912186e76ab9f95e694b18a (diff)
downloaddevice-tree-compiler-01a2d8a3e9f19cb1f5ee923af23682fad783a799.tar.gz
dtc: Make many functions 'static'
This patch marks various functions not shared between c files 'static', as they should be. There are a couple of functions in dtc, and many in the testsuite. This is *almost* enough to enable the -Wmissing-prototypes warning. It's not quite enough, because there's a mess of junk in the flex generated code which triggers that warning which I'm not yet sure how to deal with. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/get_phandle.c')
-rw-r--r--tests/get_phandle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/get_phandle.c b/tests/get_phandle.c
index f7650b8..5735733 100644
--- a/tests/get_phandle.c
+++ b/tests/get_phandle.c
@@ -28,7 +28,7 @@
#include "tests.h"
#include "testdata.h"
-void check_phandle(void *fdt, const char *path, uint32_t checkhandle)
+static void check_phandle(void *fdt, const char *path, uint32_t checkhandle)
{
int offset;
uint32_t phandle;