Remove dead code

This commit is contained in:
uis 2024-05-03 02:54:25 +03:00
parent 0eea1a9a9a
commit 1c6e0291d4
3 changed files with 4 additions and 25 deletions

View file

@ -84,15 +84,6 @@ void *SafeMalloc( size_t n, char *desc ){
return p;
}
#if defined( __linux__ ) || defined( __BSD__ ) || defined( __APPLE__ )
void strlwr( char *conv_str ){
int i;
for ( i = 0; i < strlen( conv_str ); i++ )
conv_str[i] = tolower( conv_str[i] );
}
#endif
// set these before calling CheckParm
int myargc;

View file

@ -24,6 +24,10 @@
#define MAXFILES 2048
#if defined( __linux__ ) || defined( __BSD__ ) || defined( __APPLE__ )
#define strlwr strlower
#endif
typedef struct
{
int x;

View file

@ -113,22 +113,6 @@ static char gl_filename[1024];
static void ASE_Process( void );
static void ASE_FreeGeomObject( int ndx );
#if defined( __linux__ ) || defined( __BSD__ ) || defined( __APPLE__ )
static char* strlwr( char* string ){
char *cp;
for ( cp = string; *cp; ++cp )
{
if ( 'A' <= *cp && *cp <= 'Z' ) {
*cp += 'a' - 'A';
}
}
return string;
}
#endif
/*
** ASE_Load
*/