summaryrefslogtreecommitdiff
path: root/wcsmbs/wcsstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcsstr.c')
-rw-r--r--wcsmbs/wcsstr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wcsmbs/wcsstr.c b/wcsmbs/wcsstr.c
index 5f0d2b4329..c063474a75 100644
--- a/wcsmbs/wcsstr.c
+++ b/wcsmbs/wcsstr.c
@@ -95,3 +95,6 @@ foundneedle:
ret0:
return NULL;
}
+/* This alias is for backward compatibility with drafts of the ISO C
+ standard. Unfortunately the Unix(TM) standard requires this name. */
+weak_alias (wcsstr, wcswcs)