changed a VM_Warning to fix a format warning
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11771
d7cf8633-e32d-0410-b094-
e92efae38249
-void CL_Particles_LoadEffectInfo_f(void)
+static void CL_Particles_LoadEffectInfo_f(void)
{
CL_Particles_LoadEffectInfo(Cmd_Argc() > 1 ? Cmd_Argv(1) : NULL);
}
{
CL_Particles_LoadEffectInfo(Cmd_Argc() > 1 ? Cmd_Argv(1) : NULL);
}
if (prog->openfiles[filenum] == NULL)
{
if (developer_extra.integer)
if (prog->openfiles[filenum] == NULL)
{
if (developer_extra.integer)
- VM_Warning(prog, "VM_buf_loadfile: failed to open file %s in %s\n", filename, prog->name, filename);
+ VM_Warning(prog, "VM_buf_loadfile: failed to open file %s in %s\n", filename, prog->name);
PRVM_G_FLOAT(OFS_RETURN) = 0;
return;
}
PRVM_G_FLOAT(OFS_RETURN) = 0;
return;
}
#define MATCH_MIDDLE 4
#define MATCH_PATTERN 5
#define MATCH_MIDDLE 4
#define MATCH_PATTERN 5
-const char *detect_match_rule(char *pattern, int *matchrule)
+static const char *detect_match_rule(char *pattern, int *matchrule)
{
char *ppos, *qpos;
int patternlength;
{
char *ppos, *qpos;
int patternlength;
-qboolean match_rule(const char *string, int max_string, const char *pattern, int patternlength, int rule)
+static qboolean match_rule(const char *string, int max_string, const char *pattern, int patternlength, int rule)