Skip to content
Snippets Groups Projects
Commit 2c1a398d authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Declare invariant structure const.

parent 60a8c119
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment