mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08: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:
parent
cb2e7ddfe5
commit
f73bd5fd08
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user