diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2023-09-13 19:53:39 +0200 |
---|---|---|
committer | Neil Horman <nhorman@openssl.org> | 2024-07-22 06:55:35 -0400 |
commit | 1cf2f8231ea8c3c1dd73a6f5bdf1404ecd503c4d (patch) | |
tree | 9732859b3be1fe9f982ab120585db21fdfd9fdd2 /include | |
parent | a4fd94851261c55f9ad020bf22d4f29bda0b58be (diff) |
Remove trailing whitespace
Found by running the checkpatch.pl Linux script to enforce coding style.
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22097)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/event_queue.h | 2 | ||||
-rw-r--r-- | include/internal/quic_ackm.h | 2 | ||||
-rw-r--r-- | include/internal/refcount.h | 4 | ||||
-rw-r--r-- | include/openssl/e_os2.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/include/internal/event_queue.h b/include/internal/event_queue.h index bda1ee6ad4..3b1ba50741 100644 --- a/include/internal/event_queue.h +++ b/include/internal/event_queue.h @@ -102,7 +102,7 @@ void ossl_event_queue_free(OSSL_EVENT_QUEUE *queue); * * The function returns NULL on failure and the added event on success. */ -OSSL_EVENT *ossl_event_queue_add_new(OSSL_EVENT_QUEUE *queue, +OSSL_EVENT *ossl_event_queue_add_new(OSSL_EVENT_QUEUE *queue, uint32_t type, uint32_t priority, OSSL_TIME when, void *ctx, void *payload, size_t payload_size) diff --git a/include/internal/quic_ackm.h b/include/internal/quic_ackm.h index 69b862d9c5..9e32c8589b 100644 --- a/include/internal/quic_ackm.h +++ b/include/internal/quic_ackm.h @@ -115,7 +115,7 @@ struct ossl_ackm_tx_pkt_st { void (*on_discarded)(void *arg); void *cb_arg; - /* + /* * (Internal use fields; must be zero-initialized.) * * Keep a TX history list, anext is used to manifest diff --git a/include/internal/refcount.h b/include/internal/refcount.h index 0bab061228..5ff45ac980 100644 --- a/include/internal/refcount.h +++ b/include/internal/refcount.h @@ -199,7 +199,7 @@ typedef struct { # ifdef OPENSSL_THREADS -static ossl_unused ossl_inline int CRYPTO_UP_REF(CRYPTO_REF_COUNT *refcnt, +static ossl_unused ossl_inline int CRYPTO_UP_REF(CRYPTO_REF_COUNT *refcnt, int *ret) { return CRYPTO_atomic_add(&refcnt->val, 1, ret, refcnt->lock); @@ -237,7 +237,7 @@ static ossl_unused ossl_inline void CRYPTO_FREE_REF(CRYPTO_REF_COUNT *refcnt) # else /* OPENSSL_THREADS */ -static ossl_unused ossl_inline int CRYPTO_UP_REF(CRYPTO_REF_COUNT *refcnt, +static ossl_unused ossl_inline int CRYPTO_UP_REF(CRYPTO_REF_COUNT *refcnt, int *ret) { refcnt->val++; diff --git a/include/openssl/e_os2.h b/include/openssl/e_os2.h index 17f48e6bd1..fdab27d3b8 100644 --- a/include/openssl/e_os2.h +++ b/include/openssl/e_os2.h @@ -289,7 +289,7 @@ typedef uint64_t ossl_uintmax_t; # endif # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \ - !defined(__cplusplus) + !defined(__cplusplus) # define ossl_noreturn _Noreturn # elif defined(__GNUC__) && __GNUC__ >= 2 # define ossl_noreturn __attribute__((noreturn)) |