~ubuntu-branches/ubuntu/hardy/klibc/hardy-updates

« back to all changes in this revision

Viewing changes to klibc/strcmp.c

  • Committer: Bazaar Package Importer
  • Author(s): Jeff Bailey
  • Date: 2006-01-04 20:24:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060104202452-ec4v3n829rymukuv
Tags: 1.1.15-0ubuntu1
* New upstream version.

* Patch to fix compilation on parisc64 kernels.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
int strcmp(const char *s1, const char *s2)
8
8
{
9
 
  const unsigned char *c1 = s1, *c2 = s2;
 
9
  const unsigned char *c1 = (const unsigned char *)s1;
 
10
  const unsigned char *c2 = (const unsigned char *)s2;
10
11
  unsigned char ch;
11
12
  int d = 0;
12
13