Put BIO_clear_flags with the other flags functions
I was confused why we didn't have it, but we did.
Change-Id: I61906a0074f7dbb2650603cf3c74ee9b2e0c786c
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/78847
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: Adam Langley <agl@google.com>
Auto-Submit: David Benjamin <davidben@google.com>
diff --git a/include/openssl/bio.h b/include/openssl/bio.h
index f5c8dee..a3e7609 100644
--- a/include/openssl/bio.h
+++ b/include/openssl/bio.h
@@ -123,6 +123,9 @@
// BIO_set_flags ORs |flags| with |bio->flags|.
OPENSSL_EXPORT void BIO_set_flags(BIO *bio, int flags);
+// BIO_clear_flags ANDs |bio->flags| with the bitwise-complement of |flags|.
+OPENSSL_EXPORT void BIO_clear_flags(BIO *bio, int flags);
+
// BIO_test_flags returns |bio->flags| AND |flags|.
OPENSSL_EXPORT int BIO_test_flags(const BIO *bio, int flags);
@@ -161,9 +164,6 @@
// to |reason|, which should be one of the |BIO_RR_*| values.
OPENSSL_EXPORT void BIO_set_retry_reason(BIO *bio, int reason);
-// BIO_clear_flags ANDs |bio->flags| with the bitwise-complement of |flags|.
-OPENSSL_EXPORT void BIO_clear_flags(BIO *bio, int flags);
-
// BIO_set_retry_read sets the |BIO_FLAGS_READ| and |BIO_FLAGS_SHOULD_RETRY|
// flags on |bio|.
OPENSSL_EXPORT void BIO_set_retry_read(BIO *bio);