diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-05-05 12:50:24 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-05-05 12:50:24 +0000 |
commit | 7d06701bfaad445e48832ba4fd189ffc36e34387 (patch) | |
tree | c3d0d5da0d9328d950a4da4cc3a4f9d84a3e7033 /src/libstddjb/case_diffs.c | |
parent | 73ebb5709dc2a5aaee1e676a3c1b0bb7cebcd392 (diff) | |
download | skalibs-7d06701bfaad445e48832ba4fd189ffc36e34387.tar.xz |
- add stat_at
- make case_diff* work as a function is more cases
- make sig_number case-insensitive
- make child signal unblocking work in child_spawn*
Diffstat (limited to 'src/libstddjb/case_diffs.c')
-rw-r--r-- | src/libstddjb/case_diffs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstddjb/case_diffs.c b/src/libstddjb/case_diffs.c index 2731408..bf72472 100644 --- a/src/libstddjb/case_diffs.c +++ b/src/libstddjb/case_diffs.c @@ -1,7 +1,11 @@ /* ISC license. */ +#include <skalibs/config.h> #include <skalibs/bytestr.h> +#ifdef SKALIBS_FLAG_REPLACE_LIBC + + int case_diffs (char const *s, char const *t) { register unsigned char x = 1, y = 1 ; @@ -16,3 +20,5 @@ int case_diffs (char const *s, char const *t) } return (int)(x - y) ; } + +#endif |