summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
committerjkh <jkh@FreeBSD.org>1996-07-12 18:57:58 +0000
commitc4d4a99d31762beef936f34571330923e9300da9 (patch)
treec116431af8e1f042b25e0f70c63c437cf7ff8d63 /lib/libc/string
parent6657f01bfd009bbf4ec0481a17712259abf8ea77 (diff)
downloadFreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.zip
FreeBSD-src-c4d4a99d31762beef936f34571330923e9300da9.tar.gz
General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strcoll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strcoll.c b/lib/libc/string/strcoll.c
index c8fff23..405a78b 100644
--- a/lib/libc/string/strcoll.c
+++ b/lib/libc/string/strcoll.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: strcoll.c,v 1.4 1995/04/16 22:43:45 ache Exp $
+ * $Id: strcoll.c,v 1.5 1996/06/09 14:56:06 ache Exp $
*/
#include <stdlib.h>
@@ -51,8 +51,8 @@ strcoll(s, s2)
return (-1);
else if (islower(*us1) && isupper(*us2))
return (1);
- *us1++;
- *us2++;
+ us1++;
+ us2++;
}
return (tolower(*us1) - tolower(*us2));
}
OpenPOWER on IntegriCloud