mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-30 11:42:54 +03:00
(etags_hash_t): remove unused filename_len member.
Cleanup unused includes. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
4a3cf4c6af
commit
68c9db0c17
@ -32,7 +32,6 @@
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -212,7 +211,6 @@ etags_set_definition_hash (const char *tagfile, const char *start_path,
|
||||
parse_define (chekedstr, &longname, &shortname, &line);
|
||||
if (num < MAX_DEFINITIONS - 1)
|
||||
{
|
||||
def_hash[num].filename_len = strlen (filename);
|
||||
def_hash[num].fullpath =
|
||||
mc_build_filename (start_path, filename, (char *) NULL);
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
#ifndef MC__EDIT_ETAGS_H
|
||||
#define MC__EDIT_ETAGS_H 1
|
||||
|
||||
#include <sys/types.h> /* size_t */
|
||||
#include "lib/global.h" /* include <glib.h> */
|
||||
|
||||
/*** typedefs(not structures) and defined constants **********************************************/
|
||||
|
||||
#define MAX_WIDTH_DEF_DIALOG 60 /* max width def dialog */
|
||||
@ -18,9 +15,8 @@
|
||||
|
||||
typedef struct etags_hash_struct
|
||||
{
|
||||
size_t filename_len;
|
||||
char *fullpath;
|
||||
char *filename;
|
||||
char *fullpath;
|
||||
char *short_define;
|
||||
long line;
|
||||
} etags_hash_t;
|
||||
|
Loading…
x
Reference in New Issue
Block a user