]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
tweak remove wrong definition of ser_block_header() from proto.h
authorAlain Spineux <alain@baculasystems.com>
Tue, 1 Mar 2022 13:37:39 +0000 (14:37 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
- 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

bacula/src/stored/protos.h

index 1ebc8c330bfac53bd3d2301f0eafca5d73fd939e..6892fb88280a4e5de8dc8172ed45e0b6e74c2503 100644 (file)
@@ -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);