Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168046116
D58497.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
939 B
Referenced Files
None
Subscribers
None
D58497.diff
View Options
diff --git a/contrib/elftoolchain/libelftc/libelftc_dem_arm.c b/contrib/elftoolchain/libelftc/libelftc_dem_arm.c
--- a/contrib/elftoolchain/libelftc/libelftc_dem_arm.c
+++ b/contrib/elftoolchain/libelftc/libelftc_dem_arm.c
@@ -404,8 +404,7 @@
read_func(struct demangle_data *d)
{
size_t len;
- const char *name;
- char *delim;
+ const char *name, *delim;
if (d == NULL)
return (false);
diff --git a/contrib/elftoolchain/libelftc/libelftc_dem_gnu2.c b/contrib/elftoolchain/libelftc/libelftc_dem_gnu2.c
--- a/contrib/elftoolchain/libelftc/libelftc_dem_gnu2.c
+++ b/contrib/elftoolchain/libelftc/libelftc_dem_gnu2.c
@@ -255,7 +255,7 @@
bool
is_cpp_mangled_gnu2(const char *org)
{
- char *str;
+ const char *str;
bool rtn = false;
if (org == NULL)
@@ -487,8 +487,7 @@
read_func(struct demangle_data *d)
{
size_t len;
- const char *name;
- char *delim;
+ const char *name, *delim;
if (d == NULL)
return (false);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 27, 3:03 AM (6 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37346054
Default Alt Text
D58497.diff (939 B)
Attached To
Mode
D58497: libelftc: Const correctness for C23
Attached
Detach File
Event Timeline
Log In to Comment