dbwind/DBWelement.c: constify args to AppendFlag/AppendString

non-static file local functions
This commit is contained in:
Darryl L. Miles
2024-12-26 15:20:59 -05:00
committed by Tim Edwards
parent bbc52ecd41
commit a11352970f
+7 -3
View File
@@ -103,8 +103,8 @@ static CellDef *dbwelemRootDef; /* To pass root cell definition from
void
AppendString(oldstr, newstr, postfix)
char **oldstr;
char *newstr;
char *postfix;
const char *newstr;
const char *postfix;
{
char *tmpstr;
int olen = 0;
@@ -146,7 +146,11 @@ AppendString(oldstr, newstr, postfix)
* ----------------------------------------------------------------------------
*/
void AppendFlag(char **rstr, bool *flagset, char *fname)
void
AppendFlag(
char **rstr,
bool *flagset,
const char *fname)
{
AppendString(rstr, *flagset ? "," : " ", fname);
*flagset = TRUE;