diff options
-rw-r--r-- | include/regexp.h | 4 | ||||
-rw-r--r-- | lib/libcompat/Makefile | 2 | ||||
-rw-r--r-- | sys/sys/timeb.h | 4 |
3 files changed, 9 insertions, 1 deletions
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 <regexp.h> which is deprecated, use <regex.h> instead" +#endif + /* * Definitions etc. for regexp(3) routines. * diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile index 2ca46f0..3a9d666 100644 --- a/lib/libcompat/Makefile +++ b/lib/libcompat/Makefile @@ -5,7 +5,7 @@ LIB=compat CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale NO_PIC= -WARNS?= 1 +WARNS?= 0 .PATH: ${.CURDIR}/4.1/${MACHINE_ARCH} ${.CURDIR}/4.1 \ ${.CURDIR}/4.3/${MACHINE_ARCH} ${.CURDIR}/4.3 \ diff --git a/sys/sys/timeb.h b/sys/sys/timeb.h index 59aa466..810c523 100644 --- a/sys/sys/timeb.h +++ b/sys/sys/timeb.h @@ -38,6 +38,10 @@ #ifndef _SYS_TIMEB_H_ #define _SYS_TIMEB_H_ +#ifdef __GNUC__ +#warning "this file includes <sys/timeb.h> which is deprecated" +#endif + #include <sys/_types.h> #ifndef _TIME_T_DECLARED |