aboutsummaryrefslogtreecommitdiff
path: root/libiberty/basename.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
committerDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
commit9334f9c6cd576128ec4fc891b5fcf267a7fca7fb (patch)
treefda195cba89e4178623ea39866f41e6e28eb67c1 /libiberty/basename.c
parent8da8e0b3f397df66d6e1c03470f4e6c31a63d292 (diff)
downloadgdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.zip
gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.gz
gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/basename.c')
-rw-r--r--libiberty/basename.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libiberty/basename.c b/libiberty/basename.c
index 69a982d..037a906 100644
--- a/libiberty/basename.c
+++ b/libiberty/basename.c
@@ -37,8 +37,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;