mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Const policed pointer arguments to functions, part 2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4996 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c76c568b35
commit
0ceaa5e365
17 changed files with 55 additions and 51 deletions
|
|
@ -30,7 +30,7 @@
|
|||
#include "lcd-x11.h"
|
||||
#endif
|
||||
|
||||
void lcd_blit(unsigned char* p_data, int x, int y, int width, int height,
|
||||
void lcd_blit(const unsigned char* p_data, int x, int y, int width, int height,
|
||||
int stride)
|
||||
{
|
||||
(void)p_data;
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ void lcd_double_height(bool on)
|
|||
lcd_update();
|
||||
}
|
||||
|
||||
void lcd_define_hw_pattern(int which, char *pattern, int length)
|
||||
void lcd_define_hw_pattern(int which, const char *pattern, int length)
|
||||
{
|
||||
int i, j;
|
||||
int pat = which / 8;
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
/* struct tm defined */
|
||||
struct tm *get_time(void);
|
||||
int set_time(struct tm *tm);
|
||||
bool valid_time(struct tm *tm);
|
||||
int set_time(const struct tm *tm);
|
||||
bool valid_time(const struct tm *tm);
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
/* struct tm defined */
|
||||
struct tm *get_time(void);
|
||||
int set_time(struct tm *tm);
|
||||
bool valid_time(struct tm *tm);
|
||||
int set_time(const struct tm *tm);
|
||||
bool valid_time(const struct tm *tm);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue