mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
added -Wextra -Werror and fixed everything it had to mecker about
This commit is contained in:
@@ -8,6 +8,7 @@ extern "C" {
|
||||
#include "pcp/config.h"
|
||||
#include "pcp/base85.h"
|
||||
#include "pcp/buffer.h"
|
||||
#include "pcp/config.h"
|
||||
#include "pcp/crypto.h"
|
||||
#include "pcp/defines.h"
|
||||
#include "pcp/digital_crc32.h"
|
||||
|
||||
@@ -257,7 +257,7 @@ void ps_armor(Pcpstream *stream, size_t blocksize);
|
||||
/* read from primary source, decode z85 and out into cache.
|
||||
if buf != NULL, consider it as the start of encoded data
|
||||
and remove headers and comments, then continue as normal. */
|
||||
size_t ps_read_decode(Pcpstream *stream, Buffer *cache, void *buf, size_t bufsize);
|
||||
size_t ps_read_decode(Pcpstream *stream, void *buf, size_t bufsize);
|
||||
|
||||
/* determine if primary source is z85 encoded, put the data
|
||||
read from it into the cache */
|
||||
|
||||
@@ -239,8 +239,8 @@ int pcpvault_copy(vault_t *tmp, vault_t *vault);
|
||||
/* delete a vault file */
|
||||
void pcpvault_unlink(vault_t *tmp);
|
||||
|
||||
/* calculate the vault checksum */
|
||||
byte *pcpvault_create_checksum(vault_t *vault);
|
||||
/* calculate the checksum of the current vault */
|
||||
byte *pcpvault_create_checksum();
|
||||
|
||||
/* write the new checksum to the header of the current vault */
|
||||
void pcpvault_update_checksum(vault_t *vault);
|
||||
|
||||
Reference in New Issue
Block a user