skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

commit d85c1a21f3c3f3229d958aabc744756c3fa811b4
parent efd2b41c35d427c78c685b9a543578df3641135d
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Sat, 16 May 2015 00:44:06 +0000

 Typo fixes in case_diff*

Diffstat:
Msrc/libstddjb/case_diffb.c | 3+--
Msrc/libstddjb/case_diffs.c | 1-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/libstddjb/case_diffb.c b/src/libstddjb/case_diffb.c @@ -5,7 +5,6 @@ #ifdef SKALIBS_FLAG_REPLACE_LIBC - int case_diffb (char const *s, unsigned int len, char const *t) { register unsigned char x = 0, y = 0 ; @@ -21,7 +20,7 @@ int case_diffb (char const *s, unsigned int len, char const *t) return (int)(x - y) ; } -else +#else #include <strings.h> diff --git a/src/libstddjb/case_diffs.c b/src/libstddjb/case_diffs.c @@ -5,7 +5,6 @@ #ifdef SKALIBS_FLAG_REPLACE_LIBC - int case_diffs (char const *s, char const *t) { register unsigned char x = 1, y = 1 ;