1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2019, Linaro Limited 4 */ 5 6 /* 7 * This file provides extensions to functions defined in <stdlib.h> 8 */ 9 10 #ifndef __STDLIB_EXT_H 11 #define __STDLIB_EXT_H 12 13 #include <stddef.h> 14 15 /* Overwrite buffer with a fixed pattern and free it. @ptr may be NULL. */ 16 void free_wipe(void *ptr); 17 18 #endif /* __STDLIB_EXT_H */ 19