Get rid of the unused owner_name field.
This commit is contained in:
parent
3a51fbd740
commit
5f95aa0c53
|
@ -88,7 +88,6 @@ typedef struct
|
|||
{
|
||||
char *file_name; /* file name of the dll */
|
||||
char *dll_name; /* internal name of the dll */
|
||||
char *owner_name; /* name of the 32-bit dll owning this one */
|
||||
char *init_func; /* initialization routine */
|
||||
SPEC_TYPE type; /* type of dll (Win16/Win32) */
|
||||
int base; /* ordinal base */
|
||||
|
|
|
@ -373,7 +373,6 @@ static char **parse_options( int argc, char **argv, DLLSPEC *spec )
|
|||
lib_path[nb_lib_paths++] = xstrdup( optarg );
|
||||
break;
|
||||
case 'M':
|
||||
spec->owner_name = xstrdup( optarg );
|
||||
spec->type = SPEC_WIN16;
|
||||
break;
|
||||
case 'N':
|
||||
|
|
|
@ -247,7 +247,6 @@ DLLSPEC *alloc_dll_spec(void)
|
|||
spec = xmalloc( sizeof(*spec) );
|
||||
spec->file_name = NULL;
|
||||
spec->dll_name = NULL;
|
||||
spec->owner_name = NULL;
|
||||
spec->init_func = NULL;
|
||||
spec->type = SPEC_WIN32;
|
||||
spec->base = MAX_ORDINALS;
|
||||
|
@ -288,7 +287,6 @@ void free_dll_spec( DLLSPEC *spec )
|
|||
}
|
||||
free( spec->file_name );
|
||||
free( spec->dll_name );
|
||||
free( spec->owner_name );
|
||||
free( spec->init_func );
|
||||
free( spec->entry_points );
|
||||
free( spec->names );
|
||||
|
|
Loading…
Reference in New Issue