projects
/
debian
/
pforth
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Address compiler warnings
[debian/pforth]
/
csrc
/
pf_io.c
diff --git
a/csrc/pf_io.c
b/csrc/pf_io.c
index 643178b4e7c0d2987fca24f801c0e2858f9c500b..3b48d0a1ff14d7daec0acf0b2009f87ff0d17e88 100644
(file)
--- a/
csrc/pf_io.c
+++ b/
csrc/pf_io.c
@@
-215,19
+215,27
@@
cell_t sdCloseFile( FileStream * Stream )
return 0;
}
return 0;
}
-
FileStream *
sdDeleteFile( const char *FileName )
+
cell_t
sdDeleteFile( const char *FileName )
{
UNIMPLEMENTED("sdDeleteFile");
TOUCH(FileName);
{
UNIMPLEMENTED("sdDeleteFile");
TOUCH(FileName);
- return
NULL
;
+ return
-1
;
}
}
-
in
t sdRenameFile( const char *OldName, const char *NewName )
+
cell_
t sdRenameFile( const char *OldName, const char *NewName )
{
UNIMPLEMENTED("sdRenameFile");
TOUCH(OldName);
TOUCH(NewName);
return -1;
}
{
UNIMPLEMENTED("sdRenameFile");
TOUCH(OldName);
TOUCH(NewName);
return -1;
}
+
+ThrowCode sdResizeFile( FileStream * File, uint64_t NewSize )
+{
+ UNIMPLEMENTED("sdResizeFile");
+ TOUCH(NewSize);
+ return THROW_RESIZE_FILE;
+}
+
#endif
#endif