Patch by riccardom to remove the extra read16le function.
The function is not used internaly is not defined in any header file, so I guess it's ok to remove it. Feel free to revert me if I'm wrong though.
This commit is contained in:
parent
b22e828e41
commit
95be4ade56
|
@ -133,16 +133,4 @@ int read32le(u32 *Bufo, std::istream *is)
|
|||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
///reads a little endian 16bit value from the specified file
|
||||
int read16le(char *d, FILE *fp)
|
||||
{
|
||||
#ifdef LOCAL_LE
|
||||
return((fread(d,1,2,fp)<2)?0:2);
|
||||
#else
|
||||
int ret;
|
||||
ret=fread(d+1,1,1,fp);
|
||||
ret+=fread(d,1,1,fp);
|
||||
return ret<2?0:2;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue