diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-07-14 16:43:47 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-07-14 16:43:47 +0000 |
commit | d4e3839f0562bdd61d26c705fb3c0dbba2bc03d3 (patch) | |
tree | 0ce8a4a05199afcfc4cbd7d79434f3d754149b86 /rbutil/sansapatcher/sansapatcher.h | |
parent | 3f830cb96b3b6adeea5bad5a7bd5f1f54a625ee7 (diff) |
Make functions in sansapatcher static and their arguments const if possible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18037 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.h')
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.h b/rbutil/sansapatcher/sansapatcher.h index ae0ac4faa2..170646b1d8 100644 --- a/rbutil/sansapatcher/sansapatcher.h +++ b/rbutil/sansapatcher/sansapatcher.h @@ -40,11 +40,11 @@ extern unsigned char* sansa_sectorbuf; int sansa_read_partinfo(struct sansa_t* sansa, int silent); int is_sansa(struct sansa_t* sansa); int sansa_scan(struct sansa_t* sansa); -int sansa_read_firmware(struct sansa_t* sansa, char* filename); -int sansa_add_bootloader(struct sansa_t* sansa, char* filename, int type); +int sansa_read_firmware(struct sansa_t* sansa, const char* filename); +int sansa_add_bootloader(struct sansa_t* sansa, const char* filename, int type); int sansa_delete_bootloader(struct sansa_t* sansa); -int sansa_update_of(struct sansa_t* sansa,char* filename); -int sansa_update_ppbl(struct sansa_t* sansa,char* filename); +int sansa_update_of(struct sansa_t* sansa,const char* filename); +int sansa_update_ppbl(struct sansa_t* sansa,const char* filename); void sansa_list_images(struct sansa_t* sansa); #ifdef __cplusplus |