diff options
author | rsc <devnull@localhost> | 2005-01-07 07:47:37 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-07 07:47:37 +0000 |
commit | c345061e8d81a737b2926da7ecad4b4389677fe8 (patch) | |
tree | 03120c5dab13a5536181f5666f679d460eccd8e5 /src/lib9 | |
parent | 190857f93ec5743f7c3209ac8544440b3cedfcee (diff) | |
download | plan9port-c345061e8d81a737b2926da7ecad4b4389677fe8.tar.gz plan9port-c345061e8d81a737b2926da7ecad4b4389677fe8.tar.bz2 plan9port-c345061e8d81a737b2926da7ecad4b4389677fe8.zip |
sunos fixes
Diffstat (limited to 'src/lib9')
-rw-r--r-- | src/lib9/fmt/dofmt.c | 1 | ||||
-rw-r--r-- | src/lib9/fmt/strtod.c | 1 | ||||
-rw-r--r-- | src/lib9/qlock.c | 1 | ||||
-rw-r--r-- | src/lib9/utf/utflen.c | 1 | ||||
-rw-r--r-- | src/lib9/utf/utfrrune.c | 1 | ||||
-rw-r--r-- | src/lib9/utf/utfrune.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/src/lib9/fmt/dofmt.c b/src/lib9/fmt/dofmt.c index d5166318..97bbc928 100644 --- a/src/lib9/fmt/dofmt.c +++ b/src/lib9/fmt/dofmt.c @@ -78,7 +78,6 @@ dofmt(Fmt *f, char *fmt) if(fmt == nil) return -1; } - return 0; /* not reached */ } void * diff --git a/src/lib9/fmt/strtod.c b/src/lib9/fmt/strtod.c index bef81f0b..fbc1c59e 100644 --- a/src/lib9/fmt/strtod.c +++ b/src/lib9/fmt/strtod.c @@ -377,7 +377,6 @@ fpcmp(char *a, ulong* f) a++; cont:; } - return 0; } static void diff --git a/src/lib9/qlock.c b/src/lib9/qlock.c index a979c443..7d9d064a 100644 --- a/src/lib9/qlock.c +++ b/src/lib9/qlock.c @@ -100,7 +100,6 @@ canrlock(RWLock *l) l->readers++; return 1; } - return 1; } void diff --git a/src/lib9/utf/utflen.c b/src/lib9/utf/utflen.c index 56f65feb..769805a5 100644 --- a/src/lib9/utf/utflen.c +++ b/src/lib9/utf/utflen.c @@ -34,5 +34,4 @@ utflen(char *s) s += chartorune(&rune, s); n++; } - return 0; } diff --git a/src/lib9/utf/utfrrune.c b/src/lib9/utf/utfrrune.c index 63f0c43c..cff12b5e 100644 --- a/src/lib9/utf/utfrrune.c +++ b/src/lib9/utf/utfrrune.c @@ -42,5 +42,4 @@ utfrrune(char *s, long c) s1 = s; s += c1; } - return 0; } diff --git a/src/lib9/utf/utfrune.c b/src/lib9/utf/utfrune.c index c954c788..52b83599 100644 --- a/src/lib9/utf/utfrune.c +++ b/src/lib9/utf/utfrune.c @@ -41,5 +41,4 @@ utfrune(char *s, long c) return s; s += n; } - return 0; } |