diff options
Diffstat (limited to 'lib/libc/string/strchr.c')
-rw-r--r-- | lib/libc/string/strchr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/string/strchr.c b/lib/libc/string/strchr.c index 20f2faeb111..596e407c9bd 100644 --- a/lib/libc/string/strchr.c +++ b/lib/libc/string/strchr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: strchr.c,v 1.1 2014/11/30 19:43:57 deraadt Exp $ */ +/* $OpenBSD: strchr.c,v 1.2 2015/05/15 22:29:37 millert Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -30,6 +30,8 @@ #include <string.h> +__weak_alias(index, strchr); + char * strchr(const char *p, int ch) { |