commit | 93eadbea609ccf87c8da0c05ff1f3ed12d9df1ba | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jul 27 21:21:39 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jul 28 08:07:21 2015 -0700 |
tree | ac4a1ae48a5d353c79969a55084fa9cb3e08b0f3 | |
parent | 1731a6eefa650f4f86ec44258e661bf5b7efa732 [diff] |
Fix const-ness of strrchr callers. This causes build failures in google3 where they use GCC. glibc only provides const-correct overloads for string functions for GCC >= 4.4, but clang -- which is what we use -- pretends to be GCC 4.2. Change-Id: I2a054823ea6201ebcea46d5e77b80a975eefc622