@@ -622,8 +622,9 @@ extern void restore_data_file(const char *to_path,
622622 pgFile * file , bool allow_truncate ,
623623 bool write_header ,
624624 uint32 backup_version );
625- extern bool copy_file (const char * from_root , fio_location from_location , const char * to_root , fio_location to_location , pgFile * file );
626- extern void move_file (const char * from_root , const char * to_root , pgFile * file );
625+ extern bool copy_file (const char * from_root , fio_location from_location ,
626+ const char * to_root , fio_location to_location ,
627+ pgFile * file );
627628
628629extern bool check_file_pages (pgFile * file , XLogRecPtr stop_lsn ,
629630 uint32 checksum_version , uint32 backup_version );
@@ -659,11 +660,8 @@ extern void set_min_recovery_point(pgFile *file, const char *backup_path,
659660extern void copy_pgcontrol_file (const char * from_root , fio_location location , const char * to_root , fio_location to_location ,
660661 pgFile * file );
661662
662- extern void sanityChecks (void );
663663extern void time2iso (char * buf , size_t len , time_t time );
664664extern const char * status2str (BackupStatus status );
665- extern void remove_trailing_space (char * buf , int comment_mark );
666- extern void remove_not_digit (char * buf , size_t len , const char * str );
667665extern const char * base36enc (long unsigned int value );
668666extern char * base36enc_dup (long unsigned int value );
669667extern long unsigned int base36dec (const char * text );
0 commit comments