Style fix:

* static variables should start with s.
 * function blocks should start on new line.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34668 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Fredrik Holmqvist 2009-12-15 17:00:03 +00:00
parent 7afaadfbb7
commit d403ff624f

View File

@ -25,13 +25,14 @@
#endif #endif
static bool _loadElfSymbols = false; static bool sLoadElfSymbols = false;
void void
elf_init() { elf_init()
{
void *settings = load_driver_settings("kernel"); void *settings = load_driver_settings("kernel");
_loadElfSymbols = !get_driver_boolean_parameter(settings, "load_symbols", sLoadElfSymbols = !get_driver_boolean_parameter(settings, "load_symbols",
false, false); false, false);
} }
@ -382,7 +383,7 @@ elf_load_image(int fd, preloaded_image *image)
image->debug_symbols = NULL; image->debug_symbols = NULL;
image->debug_string_table = NULL; image->debug_string_table = NULL;
if (_loadElfSymbols) if (sLoadElfSymbols)
load_elf_symbol_table(fd, image); load_elf_symbol_table(fd, image);
free(programHeaders); free(programHeaders);