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