From 45a1edcfac2a9ea47bc4ec849e6dc0f1c2a73a1d Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 21 Apr 2026 14:19:26 +0200 Subject: [PATCH] minor --- modules/database/src/ioc/db/callback.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/database/src/ioc/db/callback.c b/modules/database/src/ioc/db/callback.c index cf6a7b467..f6238335f 100644 --- a/modules/database/src/ioc/db/callback.c +++ b/modules/database/src/ioc/db/callback.c @@ -83,14 +83,14 @@ static int cbState; // holdscbState_t, use atomic ops static epicsEventId startStopEvent; /* Static data */ -static char *threadNamePrefix[NUM_CALLBACK_PRIORITIES] = { +static const char *threadNamePrefix[NUM_CALLBACK_PRIORITIES] = { "cbLow", "cbMedium", "cbHigh" }; #define FULL_MSG(name) "callbackRequest: " ERL_ERROR " " name " ring buffer full\n" -static char *fullMessage[NUM_CALLBACK_PRIORITIES] = { +static const char *fullMessage[NUM_CALLBACK_PRIORITIES] = { FULL_MSG("cbLow"), FULL_MSG("cbMedium"), FULL_MSG("cbHigh") }; -static unsigned int threadPriority[NUM_CALLBACK_PRIORITIES] = { +static const unsigned int threadPriority[NUM_CALLBACK_PRIORITIES] = { epicsThreadPriorityScanLow - 1, epicsThreadPriorityScanLow + 4, epicsThreadPriorityScanHigh + 1