Chromium Code Reviews| Index: runtime/platform/globals.h |
| =================================================================== |
| --- runtime/platform/globals.h (revision 21321) |
| +++ runtime/platform/globals.h (working copy) |
| @@ -410,7 +410,7 @@ |
| #if defined(NEEDS_STRNDUP) |
| // size_t used to match function signature on other platforms. |
| -inline char* strndup(const char* s, size_t n) { |
| +static inline char* strndup(const char* s, size_t n) { |
| size_t len = strlen(s); |
| if (n < len) { |
| len = n; |