mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* ndstool/source/ndsextract.cpp: Add missing const's.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* ndstool/source/ndsextract.cpp: Add missing const's.
|
||||||
|
|
||||||
2009-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* bin2s: Remove.
|
* bin2s: Remove.
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ void MkDir(char *name)
|
|||||||
* ExtractFile
|
* ExtractFile
|
||||||
* if rootdir==0 nothing will be written
|
* if rootdir==0 nothing will be written
|
||||||
*/
|
*/
|
||||||
void ExtractFile(char *rootdir, char *prefix, char *entry_name, unsigned int file_id)
|
void ExtractFile(char *rootdir, const char *prefix, char *entry_name, unsigned int file_id)
|
||||||
{
|
{
|
||||||
unsigned int save_filepos = ftell(fNDS);
|
unsigned int save_filepos = ftell(fNDS);
|
||||||
|
|
||||||
@@ -107,7 +107,7 @@ bool MatchName(char *name, char *mask, int level=0)
|
|||||||
* ExtractDirectory
|
* ExtractDirectory
|
||||||
* filerootdir can be 0 for just listing files
|
* filerootdir can be 0 for just listing files
|
||||||
*/
|
*/
|
||||||
void ExtractDirectory(char *prefix, unsigned int dir_id)
|
void ExtractDirectory(const char *prefix, unsigned int dir_id)
|
||||||
{
|
{
|
||||||
char strbuf[MAXPATHLEN];
|
char strbuf[MAXPATHLEN];
|
||||||
unsigned int save_filepos = ftell(fNDS);
|
unsigned int save_filepos = ftell(fNDS);
|
||||||
|
|||||||
Reference in New Issue
Block a user