Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23997
b: refs/heads/master
c: 3cbb90a
h: refs/heads/master
i:
  23995: 95f3a0b
v: v3
  • Loading branch information
Linus Torvalds committed Mar 25, 2006
1 parent 891317a commit 7af7472
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b9a3917366028cc451a98dd22e3bcd537d4e5c1
refs/heads/master: 3cbb90a9cb7854b1110663919d5bc3da3f46d5e3
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/lib/strcase.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include <linux/types.h>
#include <linux/ctype.h>
#include <linux/string.h>

int strcasecmp(const char *s1, const char *s2)
{
Expand All @@ -11,7 +13,7 @@ int strcasecmp(const char *s1, const char *s2)
return c1 - c2;
}

int strncasecmp(const char *s1, const char *s2, int n)
int strncasecmp(const char *s1, const char *s2, size_t n)
{
int c1, c2;

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-powerpc/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define __HAVE_ARCH_MEMCHR

extern int strcasecmp(const char *, const char *);
extern int strncasecmp(const char *, const char *, int);
extern int strncasecmp(const char *, const char *, __kernel_size_t);
extern char * strcpy(char *,const char *);
extern char * strncpy(char *,const char *, __kernel_size_t);
extern __kernel_size_t strlen(const char *);
Expand Down

0 comments on commit 7af7472

Please sign in to comment.