diff options
author | Gerald Van Baren | 2007-04-06 14:17:14 -0400 |
---|---|---|
committer | Gerald Van Baren | 2007-04-06 14:17:14 -0400 |
commit | 6679f9299534e488a171a9bb8f9bb891de247aab (patch) | |
tree | 54a46588f754667b0bc23eed590df587922d298d /libfdt/fdt.c | |
parent | 25b0806fff1f1fd24f69f6d9ef04d8345667e60b (diff) |
libfdt: Make fdt_check_header() public
Changed _fdt_check_header() to fdt_check_header() and made it part of
the interface - it is a useful routine.
Also did some asthetics cleanup to the include files (headers).
Diffstat (limited to 'libfdt/fdt.c')
-rw-r--r-- | libfdt/fdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libfdt/fdt.c b/libfdt/fdt.c index 4b1c8abf95e..212b83838c6 100644 --- a/libfdt/fdt.c +++ b/libfdt/fdt.c @@ -23,7 +23,7 @@ #include "libfdt_internal.h" -int _fdt_check_header(const void *fdt) +int fdt_check_header(const void *fdt) { if (fdt_magic(fdt) == FDT_MAGIC) { /* Complete tree */ @@ -72,7 +72,7 @@ const char *_fdt_find_string(const char *strtab, int tabsize, const char *s) int fdt_move(const void *fdt, void *buf, int bufsize) { - int err = _fdt_check_header(fdt); + int err = fdt_check_header(fdt); if (err) return err; |