summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher/bin2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/bin2c.c')
-rw-r--r--rbutil/sansapatcher/bin2c.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/rbutil/sansapatcher/bin2c.c b/rbutil/sansapatcher/bin2c.c
index a9ff6743f5..765c9a247c 100644
--- a/rbutil/sansapatcher/bin2c.c
+++ b/rbutil/sansapatcher/bin2c.c
@@ -70,9 +70,8 @@ static int write_cfile(unsigned char* buf, off_t len, char* cname)
return 0;
}
-static int write_hfile(unsigned char* buf, off_t len, char* cname)
+static int write_hfile(off_t len, char* cname)
{
- (void)buf;
char filename[256];
FILE* fp;
@@ -126,7 +125,7 @@ int main (int argc, char* argv[])
if (write_cfile(buf,len,cname) < 0) {
return -1;
}
- if (write_hfile(buf,len,cname) < 0) {
+ if (write_hfile(len,cname) < 0) {
return -1;
}