OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* tree-ssa-phiopt.c (tree_ssa_phi_opt): Update calls to
[pf3gnuchains/gcc-fork.git]
/
libiberty
/
basename.c
diff --git
a/libiberty/basename.c
b/libiberty/basename.c
index
69a982d
..
0f2c069
100644
(file)
--- a/
libiberty/basename.c
+++ b/
libiberty/basename.c
@@
-12,6
+12,9
@@
Behavior is undefined if the pathname ends in a directory separator.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "ansidecl.h"
#include "libiberty.h"
#include "safe-ctype.h"
@@
-37,8
+40,7
@@
Behavior is undefined if the pathname ends in a directory separator.
#endif /* DIR_SEPARATOR_2 */
char *
-basename (name)
- const char *name;
+basename (const char *name)
{
const char *base;