1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Notify compiler that cryptoErrorCode() does not return.

This commit is contained in:
David Steele 2019-05-24 11:09:43 -04:00
parent 01f3024b5c
commit 707e4a29f0

View File

@ -36,7 +36,7 @@ void cryptoInit(void);
bool cryptoIsInit(void); bool cryptoIsInit(void);
void cryptoError(bool error, const char *description); void cryptoError(bool error, const char *description);
void cryptoErrorCode(unsigned long code, const char *description); void cryptoErrorCode(unsigned long code, const char *description) __attribute__((__noreturn__));
CipherType cipherType(const String *name); CipherType cipherType(const String *name);
const String *cipherTypeName(CipherType type); const String *cipherTypeName(CipherType type);