OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* Helper functions/wrappers for memory allocations, manipulation and | 6 /* Helper functions/wrappers for memory allocations, manipulation and |
7 * comparison. | 7 * comparison. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef VBOOT_REFERENCE_UTILITY_H_ | 10 #ifndef VBOOT_REFERENCE_UTILITY_H_ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 #ifndef _STUB_IMPLEMENTATION_ | 60 #ifndef _STUB_IMPLEMENTATION_ |
61 #define malloc _do_not_use_standard_malloc | 61 #define malloc _do_not_use_standard_malloc |
62 #define free _do_not_use_standard_free | 62 #define free _do_not_use_standard_free |
63 #define memcmp _do_not_use_standard_memcmp | 63 #define memcmp _do_not_use_standard_memcmp |
64 #define memcpy _do_not_use_standard_memcpy | 64 #define memcpy _do_not_use_standard_memcpy |
65 #define memset _do_not_use_standard_memset | 65 #define memset _do_not_use_standard_memset |
66 #endif | 66 #endif |
67 | 67 |
68 | 68 |
69 #endif /* VBOOT_REFERENCE_UTILITY_H_ */ | 69 #endif /* VBOOT_REFERENCE_UTILITY_H_ */ |
OLD | NEW |