From c5532153c344e0aa369e888eabad5cfe1e569673 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 6 Jun 2011 16:50:26 +0200 Subject: PS2: Remove dead code --- backends/platform/ps2/fileio.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'backends/platform/ps2/fileio.cpp') diff --git a/backends/platform/ps2/fileio.cpp b/backends/platform/ps2/fileio.cpp index 038cccd9dd..ef01f3a693 100644 --- a/backends/platform/ps2/fileio.cpp +++ b/backends/platform/ps2/fileio.cpp @@ -535,23 +535,3 @@ size_t ps2_fwrite(const void *buf, size_t r, size_t n, FILE *stream) { assert(r != 0); return ((Ps2File*)stream)->write(buf, r * n) / r; } - -int ps2_fputs(const char *s, FILE *stream) { - int len = strlen(s); - - if (stream == stderr || stream == stdout) { - printf("%s", s); - sioprintf("%s", s); - return len; - } - - if (ps2_fwrite(s, 1, len, stream) == (size_t)len) - return len; - else - return EOF; -} - -int ps2_fflush(FILE *stream) { - // printf("fflush not implemented\n"); - return 0; -} -- cgit v1.2.3