Commit 2c1a398d authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Declare invariant structure const.

parent 60a8c119
......@@ -43,7 +43,11 @@ static struct rdmaWin
} *txWin = NULL;
char * funcMap[numRPCFuncs] = {"streamOpen", "streamDefVlist", "streamClose" };
const char * const funcMap[numRPCFuncs] = {
"streamOpen",
"streamDefVlist",
"streamClose"
};
float cdiPIOpartInflate_;
......
......@@ -37,7 +37,7 @@ enum
PARTDESCMARKER = -numRPCFuncs - 2,
};
enum { MAXDATAFILENAME = 256, MINFUNCID = STREAMCLOSE, MAXFUNCID = STREAMOPEN };
extern char * funcMap[numRPCFuncs];
extern const char * const funcMap[numRPCFuncs];
struct headerSize
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment