Skip to content

Commit 39a0172

Browse files
authored
Merge pull request #3699 from masatake/add-missing-const-modiifiers
main: add missing const modifiers
2 parents 7ebd379 + 80c7b10 commit 39a0172

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main/entry.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ extern const tagField* getParserFieldForIndex (const tagEntryInfo * tag, int ind
10201020
}
10211021
}
10221022

1023-
extern const char* getParserFieldValueForType (tagEntryInfo *const tag, fieldType ftype)
1023+
extern const char* getParserFieldValueForType (const tagEntryInfo *const tag, fieldType ftype)
10241024
{
10251025
for (int i = 0; i < tag->usedParserFields; i++)
10261026
{

main/entry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ extern bool isTagExtra (const tagEntryInfo *const tag);
298298
*/
299299
extern void attachParserField (tagEntryInfo *const tag, fieldType ftype, const char* value);
300300
extern void attachParserFieldToCorkEntry (int index, fieldType ftype, const char* value);
301-
extern const char* getParserFieldValueForType (tagEntryInfo *const tag, fieldType ftype);
301+
extern const char* getParserFieldValueForType (const tagEntryInfo *const tag, fieldType ftype);
302302

303303
extern int makePlaceholder (const char *const name);
304304
extern void markTagAsPlaceholder (tagEntryInfo *e, bool placeholder);

0 commit comments

Comments
 (0)