diff options
| author | Jeff Davis | 2022-11-15 23:58:12 +0000 |
|---|---|---|
| committer | Jeff Davis | 2022-11-16 00:01:35 +0000 |
| commit | 1eda3ce80287f985f8165640d4bf663fe4649b41 (patch) | |
| tree | 83e05894510eebfe94a74f1f6579e6d26ec31287 /src/test/modules | |
| parent | ae168c794f09984d8fe44e7da2ca6ad3eeb570f1 (diff) | |
Mark argument of RegisterCustomRmgr() as const.
Diffstat (limited to 'src/test/modules')
| -rw-r--r-- | src/test/modules/test_custom_rmgrs/test_custom_rmgrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/test_custom_rmgrs/test_custom_rmgrs.c b/src/test/modules/test_custom_rmgrs/test_custom_rmgrs.c index 6e5270bf839..d8e513ae931 100644 --- a/src/test/modules/test_custom_rmgrs/test_custom_rmgrs.c +++ b/src/test/modules/test_custom_rmgrs/test_custom_rmgrs.c @@ -51,7 +51,7 @@ void testcustomrmgrs_redo(XLogReaderState *record); void testcustomrmgrs_desc(StringInfo buf, XLogReaderState *record); const char *testcustomrmgrs_identify(uint8 info); -static RmgrData testcustomrmgrs_rmgr = { +static const RmgrData testcustomrmgrs_rmgr = { .rm_name = TESTCUSTOMRMGRS_NAME, .rm_redo = testcustomrmgrs_redo, .rm_desc = testcustomrmgrs_desc, |
