Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-01-02 00:24:36 +0300
committerAdam Langley <agl@google.com>2015-01-15 00:53:00 +0300
commitaa3f6daa863dbd476f1cf1009a61621e8bbccd97 (patch)
tree4ca3b7841fdafd1cc636a229814fbf73ec7b97e0 /crypto/bio
parent1681d79ddfd5083a35ab52ddeeb510fd1a8e55b2 (diff)
Tag a number of globals as const.
Change-Id: I6f334911f153395a2e5e26adfd08912a1d8c558b Reviewed-on: https://boringssl-review.googlesource.com/2847 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/bio')
-rw-r--r--crypto/bio/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/buffer.c b/crypto/bio/buffer.c
index 144afd28..415a4713 100644
--- a/crypto/bio/buffer.c
+++ b/crypto/bio/buffer.c
@@ -480,7 +480,7 @@ static int buffer_puts(BIO *b, const char *str) {
return buffer_write(b, str, strlen(str));
}
-static BIO_METHOD methods_buffer = {
+static const BIO_METHOD methods_buffer = {
BIO_TYPE_BUFFER, "buffer", buffer_write, buffer_read,
buffer_puts, buffer_gets, buffer_ctrl, buffer_new,
buffer_free, buffer_callback_ctrl,