From d9cc37896ffedc3ab90180c4d4b400169317c2f5 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 25 Mar 2024 00:56:42 +0400 Subject: [PATCH] Add the empty lines at the end of the sources so clang won't whine and compile. :) --- src/audio.c | 2 +- src/audio.h | 2 +- src/crypt.c | 2 +- src/crypt.h | 2 +- src/main.c | 2 +- src/net.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/audio.c b/src/audio.c index 3cd2cd0..d3bcb82 100644 --- a/src/audio.c +++ b/src/audio.c @@ -108,4 +108,4 @@ int audio_write(audio_t *aud, const unsigned char *input, int input_len) { } return 0; -} \ No newline at end of file +} diff --git a/src/audio.h b/src/audio.h index a83bae4..ee1c1eb 100644 --- a/src/audio.h +++ b/src/audio.h @@ -22,4 +22,4 @@ int audio_destroy(audio_t *aud); int audio_read(audio_t *aud, unsigned char *output, int output_len); int audio_write(audio_t *aud, const unsigned char *input, int input_len); -#endif /* _AUDIO_H_ */ \ No newline at end of file +#endif /* _AUDIO_H_ */ diff --git a/src/crypt.c b/src/crypt.c index baab383..607b0d4 100644 --- a/src/crypt.c +++ b/src/crypt.c @@ -199,4 +199,4 @@ void crypt_session_destroy(crypt_session_t *const s) { sodium_memzero(s->tx, CRYPT_SESS_KEY_LEN); sodium_memzero(s->nonce, CRYPT_NONCE_LEN); crypt_key_destroy(s->remote_key); -} \ No newline at end of file +} diff --git a/src/crypt.h b/src/crypt.h index 1e18701..fbe8cbb 100644 --- a/src/crypt.h +++ b/src/crypt.h @@ -57,4 +57,4 @@ unsigned char *crypt_session_encrypt(crypt_session_t *const s, const unsigned ch unsigned char *crypt_session_decrypt(crypt_session_t *const s, const unsigned char *const c, unsigned long long clen, unsigned long long *mlen); void crypt_session_destroy(crypt_session_t *const s); -#endif /* _CRYPT_H_ */ \ No newline at end of file +#endif /* _CRYPT_H_ */ diff --git a/src/main.c b/src/main.c index 794b8d5..6d7a802 100644 --- a/src/main.c +++ b/src/main.c @@ -155,4 +155,4 @@ cleanup: net_destroy(&nc); return rt; -} \ No newline at end of file +} diff --git a/src/net.h b/src/net.h index bd97dd3..6eaaf0b 100644 --- a/src/net.h +++ b/src/net.h @@ -16,4 +16,4 @@ void net_destroy(net_t *n); ssize_t net_send(net_t *const n, const char *const buf, int buf_len); ssize_t net_recv(net_t *const n, void *const buf, size_t buf_len); -#endif /* _NET_H_ */ \ No newline at end of file +#endif /* _NET_H_ */