From: Alain Spineux Date: Tue, 1 Mar 2022 13:37:39 +0000 (+0100) Subject: tweak remove wrong definition of ser_block_header() from proto.h X-Git-Tag: Beta-15.0.0~410 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1a8a3771a397acb9e2dd2d620b57a4587dc47ab;p=thirdparty%2Fbacula.git tweak remove wrong definition of ser_block_header() from proto.h - the definition of ser_block_header in proto.h is wrong void ser_block_header(DEV_BLOCK *block); - the right one is uint32_t ser_block_header(DEV_BLOCK *block, bool do_checksum) - the definition in proto.h is never used --- diff --git a/bacula/src/stored/protos.h b/bacula/src/stored/protos.h index 1ebc8c330..6892fb882 100644 --- a/bacula/src/stored/protos.h +++ b/bacula/src/stored/protos.h @@ -120,7 +120,6 @@ void init_block_write(DEV_BLOCK *block); void empty_block(DEV_BLOCK *block); void free_block(DEV_BLOCK *block); void print_block_read_errors(JCR *jcr, DEV_BLOCK *block); -void ser_block_header(DEV_BLOCK *block); bool is_block_empty(DEV_BLOCK *block); bool terminate_writing_volume(DCR *dcr);