python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / asignify / patches / musl.patch
blobf5967ae87ba8841651cfa5d69e882c8bbb4eba6b
1 --- libasignify/sha2.h.orig 2015-06-13 11:00:00.647603180 +0200
2 +++ libasignify/sha2.h 2015-06-13 11:00:43.070069529 +0200
3 @@ -59,7 +59,11 @@ typedef struct _SHA2_CTX {
4 uint8_t buffer[SHA512_BLOCK_LENGTH];
5 } SHA2_CTX;
7 -__BEGIN_DECLS
9 +#ifdef __cplusplus
10 +extern "C" {
11 +#endif
13 void SHA256Init(SHA2_CTX *);
14 void SHA256Transform(uint32_t state[8], const uint8_t [SHA256_BLOCK_LENGTH]);
15 void SHA256Update(SHA2_CTX *, const uint8_t *, size_t);
16 @@ -79,6 +83,9 @@ char *SHA512End(SHA2_CTX *, char *);
17 char *SHA512File(const char *, char *);
18 char *SHA512FileChunk(const char *, char *, off_t, off_t);
19 char *SHA512Data(const uint8_t *, size_t, char *);
20 -__END_DECLS
22 +#ifdef __cplusplus
24 +#endif
26 #endif /* _SHA2_H */