OLD | NEW |
1 // Copyright (c) 2011, Google Inc. | 1 // Copyright (c) 2011, Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 = &glibc_override_free; | 139 = &glibc_override_free; |
140 void* (* MALLOC_HOOK_MAYBE_VOLATILE __memalign_hook)(size_t,size_t, const void*) | 140 void* (* MALLOC_HOOK_MAYBE_VOLATILE __memalign_hook)(size_t,size_t, const void*) |
141 = &glibc_override_memalign; | 141 = &glibc_override_memalign; |
142 | 142 |
143 } // extern "C" | 143 } // extern "C" |
144 | 144 |
145 // No need to write ReplaceSystemAlloc(); one of the #includes above | 145 // No need to write ReplaceSystemAlloc(); one of the #includes above |
146 // did it for us. | 146 // did it for us. |
147 | 147 |
148 #endif // TCMALLOC_LIBC_OVERRIDE_GLIBC_INL_H_ | 148 #endif // TCMALLOC_LIBC_OVERRIDE_GLIBC_INL_H_ |
OLD | NEW |