diff options
Diffstat (limited to 'src/lib/libc/string/strcmp.c')
| -rw-r--r-- | src/lib/libc/string/strcmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/string/strcmp.c b/src/lib/libc/string/strcmp.c index d1b6c50d79..be175563d4 100644 --- a/src/lib/libc/string/strcmp.c +++ b/src/lib/libc/string/strcmp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: strcmp.c,v 1.8 2014/06/10 04:17:37 deraadt Exp $ */ | 1 | /* $OpenBSD: strcmp.c,v 1.9 2015/08/31 02:53:57 guenther Exp $ */ |
| 2 | 2 | ||
| 3 | /*- | 3 | /*- |
| 4 | * Copyright (c) 1990 The Regents of the University of California. | 4 | * Copyright (c) 1990 The Regents of the University of California. |
| @@ -45,3 +45,4 @@ strcmp(const char *s1, const char *s2) | |||
| 45 | return (0); | 45 | return (0); |
| 46 | return (*(unsigned char *)s1 - *(unsigned char *)--s2); | 46 | return (*(unsigned char *)s1 - *(unsigned char *)--s2); |
| 47 | } | 47 | } |
| 48 | DEF_STRONG(strcmp); | ||
