[PATCH v2 2/2] newlib/libc/include/sys/tree.h: Add deprecation warning
Joel Sherrill <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
--- newlib/libc/include/sys/tree.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/newlib/libc/include/sys/tree.h b/newlib/libc/include/sys/tree.h index 2d3cec0..7f12d6b 100644 --- a/newlib/libc/include/sys/tree.h +++ b/newlib/libc/include/sys/tree.h @@ -32,6 +32,10 @@ #ifndef _SYS_TREE_H_ #define _SYS_TREE_H_ +#ifndef __PERMIT_DEPRECATED_SYS_TREE_H +#warning "sys/tree.h is deprecated and will be removed in the future." +#endif + #include <sys/cdefs.h> /* -- 1.8.3.1