diff options
author | Maciej Pijanka <maciej.pijanka@gmail.com> | 2009-10-27 14:29:29 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-10-27 14:29:29 +0000 |
commit | ea92185755a578d9a1b5df5cbf7b05ee2cea2390 (patch) | |
tree | d7ffa935cad6e5ae7b50fa5c9ec158e0493df0c5 /src/devices/device_util.c | |
parent | 18d7c2e31e868c9f9f78b907f607b8a1b98b46aa (diff) | |
download | coreboot-ea92185755a578d9a1b5df5cbf7b05ee2cea2390.tar.xz |
Add few missing prototypes, and remove few unused (thus lonelly) variables.
TODO
- x86emu need (imo) some common header with prototypes at least
- clog2, ulzma, hardwaremain prototypes added by this patch probably should
be moved to some header too.
- in src/devices/device_util.c prototype is before function because seems,
it is used only within same file, if not it should be moved to debug
section of prototypes in include/device/device.h
Signed-off-by: Maciej Pijanka <maciej.pijanka@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4871 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/device_util.c')
-rw-r--r-- | src/devices/device_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/device_util.c b/src/devices/device_util.c index eef4c6fd16..71cd436f0c 100644 --- a/src/devices/device_util.c +++ b/src/devices/device_util.c @@ -556,7 +556,7 @@ void disable_children(struct bus *bus) } } -void resource_tree(struct device *root, int debug_level, int depth) +static void resource_tree(struct device *root, int debug_level, int depth) { int i = 0, link = 0; struct device *child; |