aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-03-09 21:01:12 +0000
committerEd Schouten <ed@FreeBSD.org>2010-03-09 21:01:12 +0000
commita6c03411f28808b989f16b12c7c2efac2c76928a (patch)
tree03454dfe6e9ec5f335216e8c94654eaf5981da2a /include
parentbb505a4f0fd64abc1b63e57d4e61693e4afb0da0 (diff)
Notes
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 3a8d3252f3115..39cdf3afc0960 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.
*