From 9e6c7bc61838476d749d9bc4801777d35fd46a63 Mon Sep 17 00:00:00 2001
From: Yabin Cui <yabinc@google.com>
Date: Mon, 16 Mar 2015 14:26:53 -0700
Subject: [PATCH] Fix atomic_load on const variable in pthread_cond_t.

Change-Id: I60f55a53294a09332a3fbec669ed793359d1bdf5
---
 libc/bionic/pthread_cond.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/bionic/pthread_cond.cpp b/libc/bionic/pthread_cond.cpp
index cb7cf5f35..95a433c11 100644
--- a/libc/bionic/pthread_cond.cpp
+++ b/libc/bionic/pthread_cond.cpp
@@ -107,11 +107,11 @@ int pthread_condattr_destroy(pthread_condattr_t* attr) {
 struct pthread_cond_internal_t {
   atomic_uint state;
 
-  bool process_shared() const {
+  bool process_shared() {
     return COND_IS_SHARED(atomic_load_explicit(&state, memory_order_relaxed));
   }
 
-  int get_clock() const {
+  int get_clock() {
     return COND_GET_CLOCK(atomic_load_explicit(&state, memory_order_relaxed));
   }