mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 01:42:12 +00:00
Use const char pointers when possible in botlib's libvar code
This commit is contained in:
parent
db1198f6ea
commit
d1631d6ea3
4 changed files with 24 additions and 24 deletions
|
@ -238,7 +238,7 @@ int Export_BotLibShutdown(void)
|
|||
// Returns: -
|
||||
// Changes Globals: -
|
||||
//===========================================================================
|
||||
int Export_BotLibVarSet(char *var_name, char *value)
|
||||
int Export_BotLibVarSet(const char *var_name, const char *value)
|
||||
{
|
||||
LibVarSet(var_name, value);
|
||||
return BLERR_NOERROR;
|
||||
|
@ -249,7 +249,7 @@ int Export_BotLibVarSet(char *var_name, char *value)
|
|||
// Returns: -
|
||||
// Changes Globals: -
|
||||
//===========================================================================
|
||||
int Export_BotLibVarGet(char *var_name, char *value, int size)
|
||||
int Export_BotLibVarGet(const char *var_name, char *value, int size)
|
||||
{
|
||||
char *varvalue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue