From c5fa503cec8f3106fda29df1e39eab08c5416bc9 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 9 Mar 2010 21:01:12 +0000 Subject: Add warnings to and . These header files only provide functionality that can be used in combination with libcompat. In order to prevent people from including them without any actual use (which happens a lot with ), put a warning here to make people more aware. This means we have to lower WARNS for libcompat, which is no big deal. --- include/regexp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/regexp.h b/include/regexp.h index 3a8d325..39cdf3a 100644 --- a/include/regexp.h +++ b/include/regexp.h @@ -37,6 +37,10 @@ #ifndef _REGEXP_H_ #define _REGEXP_H_ +#ifdef __GNUC__ +#warning "this file includes which is deprecated, use instead" +#endif + /* * Definitions etc. for regexp(3) routines. * -- cgit v1.1