boot loader: add_safe_mode_settings(): Make parameter const

This commit is contained in:
Ingo Weinhold 2013-11-20 15:49:04 +01:00
parent 6c7abe9829
commit f2620e4714
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ add_stage2_driver_settings(stage2_args* args)
status_t
add_safe_mode_settings(char* settings)
add_safe_mode_settings(const char* settings)
{
if (settings == NULL || settings[0] == '\0')
return B_OK;

View File

@ -9,7 +9,7 @@
#include <boot/vfs.h>
extern status_t add_safe_mode_settings(char *buffer);
extern status_t add_safe_mode_settings(const char *buffer);
extern status_t add_stage2_driver_settings(stage2_args *args);
extern status_t load_driver_settings(stage2_args *args, Directory *volume);