You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Add missing const to strLstAdd().
This commit is contained in:
@@ -157,7 +157,7 @@ strLstDup(const StringList *sourceList)
|
||||
Wrapper for lstAdd()
|
||||
***********************************************************************************************************************************/
|
||||
StringList *
|
||||
strLstAdd(StringList *this, String *string)
|
||||
strLstAdd(StringList *this, const String *string)
|
||||
{
|
||||
String *stringCopy = strDup(string);
|
||||
return (StringList *)lstAdd((List *)this, &stringCopy);
|
||||
|
@@ -33,7 +33,7 @@ StringList *strLstNewSplitSizeZ(const String *string, const char *delimiter, siz
|
||||
StringList *strLstNewVarLst(const VariantList *sourceList);
|
||||
StringList *strLstDup(const StringList *sourceList);
|
||||
|
||||
StringList *strLstAdd(StringList *this, String *string);
|
||||
StringList *strLstAdd(StringList *this, const String *string);
|
||||
StringList *strLstAddZ(StringList *this, const char *string);
|
||||
String *strLstGet(const StringList *this, unsigned int listIdx);
|
||||
String *strLstJoin(const StringList *this, const char *separator);
|
||||
|
Reference in New Issue
Block a user