mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Add missing const qualifier
This is present in the declaration for ReadDataFromArchive, so we'd better have it in the definition too in order to avoid compilers from complaining about the mismatch of function signatures.
This commit is contained in:
@ -124,7 +124,8 @@ AllocateCompressor(const pg_compress_specification compression_spec,
|
||||
* out with ahwrite().
|
||||
*/
|
||||
void
|
||||
ReadDataFromArchive(ArchiveHandle *AH, pg_compress_specification compression_spec,
|
||||
ReadDataFromArchive(ArchiveHandle *AH,
|
||||
const pg_compress_specification compression_spec,
|
||||
ReadFunc readF)
|
||||
{
|
||||
if (compression_spec.algorithm == PG_COMPRESSION_NONE)
|
||||
|
Reference in New Issue
Block a user