Usage of const

This commit is contained in:
James Booth
2012-03-09 01:06:55 +00:00
parent ea3a09ac26
commit f533c6c162
14 changed files with 94 additions and 84 deletions

View File

@@ -67,7 +67,7 @@ void status_bar_refresh(void)
}
}
void status_bar_inactive(int win)
void status_bar_inactive(const int win)
{
int active_pos = 1 + ((win -1) * 3);
@@ -81,7 +81,7 @@ void status_bar_inactive(int win)
dirty = TRUE;
}
void status_bar_active(int win)
void status_bar_active(const int win)
{
int active_pos = 1 + ((win -1) * 3);
@@ -103,7 +103,7 @@ void status_bar_get_password(void)
dirty = TRUE;
}
void status_bar_print_message(const char *msg)
void status_bar_print_message(const char * const msg)
{
mvwprintw(status_bar, 0, 9, msg);