Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
0ef5547d
Commit
0ef5547d
authored
Aug 10, 2001
by
Andrew Cagney
Committed by
Andrew Cagney
Aug 10, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(lbasename): Change function declaration to return a const char pointer.
From-SVN: r44782
parent
db80cc1f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
include/ChangeLog
+5
-0
include/libiberty.h
+1
-1
libiberty/ChangeLog
+5
-0
libiberty/lbasename.c
+3
-3
No files found.
include/ChangeLog
View file @
0ef5547d
2001-06-13 Andrew Cagney <ac131313@redhat.com>
* libiberty.h (lbasename): Change function declaration to return a
const char pointer.
2001-08-02 Mark Kettenis <kettenis@gnu.org>
* xregex.h (_REGEX_RE_COMP): Define.
...
...
include/libiberty.h
View file @
0ef5547d
...
...
@@ -83,7 +83,7 @@ extern char *basename ();
/* A well-defined basename () that is always compiled in. */
extern
char
*
lbasename
PARAMS
((
const
char
*
));
extern
c
onst
c
har
*
lbasename
PARAMS
((
const
char
*
));
/* Concatenate an arbitrary number of strings, up to (char *) NULL.
Allocates memory using xmalloc. */
...
...
libiberty/ChangeLog
View file @
0ef5547d
2001-06-13 Andrew Cagney <ac131313@redhat.com>
* lbasename.c (lbasename): Change function definition to return a
const char pointer.
2001-08-07 Jason Merrill <jason_merrill@redhat.com>
* cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
...
...
libiberty/lbasename.c
View file @
0ef5547d
...
...
@@ -23,7 +23,7 @@ NAME
lbasename -- return pointer to last component of a pathname
SYNOPSIS
char *lbasename (const char *name)
c
onst c
har *lbasename (const char *name)
DESCRIPTION
Given a pointer to a string containing a typical pathname
...
...
@@ -69,7 +69,7 @@ DESCRIPTION
# endif
#endif
char
*
c
onst
c
har
*
lbasename
(
name
)
const
char
*
name
;
{
...
...
@@ -85,5 +85,5 @@ lbasename (name)
if
(
IS_DIR_SEPARATOR
(
*
name
))
base
=
name
+
1
;
return
(
char
*
)
base
;
return
base
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment