Fix various warnings

This commit is contained in:
Tim Angus committed 2025-09-07 17:03:20 +01:00
1 parent 549b686e22
commit f976711fb4
58 files changed
+384 -425

No files matched your search

+2 -2
View File
@@ -559,7 +559,7 @@ int Q_stricmp (const char *s1, const char *s2)
}
char *strupr (char *start)
char *Q_strupr (char *start)
{
char *in;
in = start;
@@ -571,7 +571,7 @@ char *strupr (char *start)
return start;
}
char *strlower (char *start)
char *Q_strlower (char *start)
{
char *in;
in = start;
+2 -2
View File
@@ -67,8 +67,8 @@ typedef unsigned char byte;
extern int myargc;
extern char **myargv;
char *strupr (char *in);
char *strlower (char *in);
char *Q_strupr (char *in);
char *Q_strlower (char *in);
int Q_strncasecmp( const char *s1, const char *s2, int n );
int Q_stricmp( const char *s1, const char *s2 );
void Q_getwd( char *out );
+1 -1
View File
@@ -592,7 +592,7 @@ Symbols can only be evaluated on pass 1
*/
static int LookupSymbol( char *sym ) {
symbol_t *s;
char expanded[MAX_LINE_LENGTH];
char expanded[MAX_LINE_LENGTH * 2];
int hash;
hashchain_t *hc;
-4
View File
@@ -53,10 +53,6 @@ extern char *stringf(const char *, ...);
extern int suffix(char *, char *[], int);
extern char *tempname(char *);
#ifndef __sun
extern int getpid(void);
#endif
extern char *cpp[], *include[], *com[], *as[],*ld[], inputs[], *suffixes[];
extern int option(char *);