OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge from gcc
[pf3gnuchains/pf3gnuchains3x.git]
/
libiberty
/
index.c
diff --git
a/libiberty/index.c
b/libiberty/index.c
index
a2e2727
..
c37edca
100644
(file)
--- a/
libiberty/index.c
+++ b/
libiberty/index.c
@@
-12,12
+12,10
@@
deprecated in new programs in favor of @code{strchr}.
*/
-extern char * strchr();
+extern char * strchr(
const char *, int
);
char *
-index (s, c)
- char *s;
- int c;
+index (char *s, int c)
{
return strchr (s, c);
}