summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/regexp.h4
1 files changed, 4 insertions, 0 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.
*
OpenPOWER on IntegriCloud