@@ -622,8 +622,9 @@ extern void restore_data_file(const char *to_path,
622
622
pgFile * file , bool allow_truncate ,
623
623
bool write_header ,
624
624
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 );
627
628
628
629
extern bool check_file_pages (pgFile * file , XLogRecPtr stop_lsn ,
629
630
uint32 checksum_version , uint32 backup_version );
@@ -659,11 +660,8 @@ extern void set_min_recovery_point(pgFile *file, const char *backup_path,
659
660
extern void copy_pgcontrol_file (const char * from_root , fio_location location , const char * to_root , fio_location to_location ,
660
661
pgFile * file );
661
662
662
- extern void sanityChecks (void );
663
663
extern void time2iso (char * buf , size_t len , time_t time );
664
664
extern 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 );
667
665
extern const char * base36enc (long unsigned int value );
668
666
extern char * base36enc_dup (long unsigned int value );
669
667
extern long unsigned int base36dec (const char * text );
0 commit comments