зеркало из https://github.com/mozilla/pjs.git
Fix compiler warnings
This commit is contained in:
Родитель
1f73032ff7
Коммит
65d598e7ab
|
@ -78,7 +78,7 @@
|
|||
|
||||
#ifndef MOZILLA_CLIENT
|
||||
#define RES_START
|
||||
#define BEGIN_STR(arg) static char * (arg) (int16 i) { switch (i) {
|
||||
#define BEGIN_STR(arg) static char * (arg) (int32 i) { switch (i) {
|
||||
#define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg);
|
||||
#define END_STR(arg) } return NULL; }
|
||||
#else /* MOZILLA_CLIENT */
|
||||
|
@ -108,7 +108,7 @@
|
|||
#define END_STR(arg) }
|
||||
#else
|
||||
#define RES_START
|
||||
#define BEGIN_STR(arg) static char *(arg)(int16 i) { switch (i) {
|
||||
#define BEGIN_STR(arg) static char *(arg)(int32 i) { switch (i) {
|
||||
#define ResDef(name,id,msg) case (id)+RES_OFFSET: return (msg);
|
||||
#define END_STR(arg) } return NULL; }
|
||||
#endif /* RESOURCE_STR_X */
|
||||
|
|
|
@ -212,7 +212,7 @@ extern char * XP_StripLine (char *s);
|
|||
|
||||
/* Match = 0, NoMatch = 1, Abort = -1 */
|
||||
/* Based loosely on sections of wildmat.c by Rich Salz */
|
||||
extern int xp_RegExpSearch(char *str, char *exp);
|
||||
extern int xp_RegExpSearch(char *str, char *regexp);
|
||||
|
||||
/*
|
||||
* These are "safe" versions of the runtime library routines. The RTL
|
||||
|
|
Загрузка…
Ссылка в новой задаче