summaryrefslogtreecommitdiff
path: root/firmware/common/strchr.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-22 21:24:09 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-22 21:24:09 +0000
commit0b7dcd69c801a7439de5bfc53ae4005ec3846634 (patch)
tree42e62d3eec4ec49c7fd95ff01d5ca7d015c6fd45 /firmware/common/strchr.c
parent3f5f3524d478743a4c2f470f0baf7b767ce8d1c2 (diff)
downloadrockbox-0b7dcd69c801a7439de5bfc53ae4005ec3846634.tar.gz
rockbox-0b7dcd69c801a7439de5bfc53ae4005ec3846634.zip
Remove tabs in firmware path (taking into account the original spacing).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24864 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/strchr.c')
-rw-r--r--firmware/common/strchr.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/firmware/common/strchr.c b/firmware/common/strchr.c
index de4585f758..96acf5edf6 100644
--- a/firmware/common/strchr.c
+++ b/firmware/common/strchr.c
@@ -1,28 +1,28 @@
1/* 1/*
2FUNCTION 2FUNCTION
3 <<strchr>>---search for character in string 3 <<strchr>>---search for character in string
4 4
5INDEX 5INDEX
6 strchr 6 strchr
7 7
8ANSI_SYNOPSIS 8ANSI_SYNOPSIS
9 #include <string.h> 9 #include <string.h>
10 char * strchr(const char *<[string]>, int <[c]>); 10 char * strchr(const char *<[string]>, int <[c]>);
11 11
12TRAD_SYNOPSIS 12TRAD_SYNOPSIS
13 #include <string.h> 13 #include <string.h>
14 char * strchr(<[string]>, <[c]>); 14 char * strchr(<[string]>, <[c]>);
15 char *<[string]>; 15 char *<[string]>;
16 int *<[c]>; 16 int *<[c]>;
17 17
18DESCRIPTION 18DESCRIPTION
19 This function finds the first occurence of <[c]> (converted to 19 This function finds the first occurence of <[c]> (converted to
20 a char) in the string pointed to by <[string]> (including the 20 a char) in the string pointed to by <[string]> (including the
21 terminating null character). 21 terminating null character).
22 22
23RETURNS 23RETURNS
24 Returns a pointer to the located character, or a null pointer 24 Returns a pointer to the located character, or a null pointer
25 if <[c]> does not occur in <[string]>. 25 if <[c]> does not occur in <[string]>.
26 26
27PORTABILITY 27PORTABILITY
28<<strchr>> is ANSI C. 28<<strchr>> is ANSI C.
@@ -30,7 +30,7 @@ PORTABILITY
30<<strchr>> requires no supporting OS subroutines. 30<<strchr>> requires no supporting OS subroutines.
31 31
32QUICKREF 32QUICKREF
33 strchr ansi pure 33 strchr ansi pure
34*/ 34*/
35 35
36#include <string.h> 36#include <string.h>
@@ -59,8 +59,8 @@ QUICKREF
59 59
60char * 60char *
61_DEFUN (strchr, (s1, i), 61_DEFUN (strchr, (s1, i),
62 _CONST char *s1 _AND 62 _CONST char *s1 _AND
63 int i) 63 int i)
64{ 64{
65 _CONST unsigned char *s = (_CONST unsigned char *)s1; 65 _CONST unsigned char *s = (_CONST unsigned char *)s1;
66#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__) 66#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)