diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:08:26 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-19 19:21:39 +0100 |
commit | de80fdc2060abe5b171bcef72944dd7b914ccd33 (patch) | |
tree | 61f76f37022ea3e7c917afc7da7116275d47cb79 /onlineupdate/inc | |
parent | f54b1d1e0937cf43d74e34bfd5ae921923527a09 (diff) |
tdf#123936 Formatting files in module onlineupdate with clang-format
Change-Id: I17aba4fbf7c2e914e64c62e9370695e20d7c14d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105693
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'onlineupdate/inc')
-rw-r--r-- | onlineupdate/inc/bspatch.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/onlineupdate/inc/bspatch.h b/onlineupdate/inc/bspatch.h index ff1a8072964f..e9326262c243 100644 --- a/onlineupdate/inc/bspatch.h +++ b/onlineupdate/inc/bspatch.h @@ -69,7 +69,7 @@ typedef struct MBSPatchHeader_ * @param fd Must have been opened for reading, and be at the beginning * of the file. */ -int MBS_ReadHeader(FILE* file, MBSPatchHeader *header); +int MBS_ReadHeader(FILE* file, MBSPatchHeader* header); /** * Apply a patch. This method does not validate the checksum of the original @@ -82,14 +82,14 @@ int MBS_ReadHeader(FILE* file, MBSPatchHeader *header); * to header->dlen if it is an existing file. The offset * should be at the beginning of the file. */ -int MBS_ApplyPatch(const MBSPatchHeader *header, FILE* patchFile, - unsigned char *fbuffer, FILE* file); +int MBS_ApplyPatch(const MBSPatchHeader* header, FILE* patchFile, unsigned char* fbuffer, + FILE* file); typedef struct MBSPatchTriple_ { uint32_t x; /* add x bytes from oldfile to x bytes from the diff block */ uint32_t y; /* copy y bytes from the extra block */ - int32_t z; /* seek forwards in oldfile by z bytes */ + int32_t z; /* seek forwards in oldfile by z bytes */ } MBSPatchTriple; -#endif // bspatch_h__ +#endif // bspatch_h__ |