Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
8e7be51e
...
8e7be51ea5284ad0c623efaca40c020f975dda9c
authored
2007-06-26 13:55:51 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove unused functions
1 parent
7082d58f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
39 deletions
lib/mu_dbm.c
libproto/maildir/mbox.c
mh/mh_format.c
lib/mu_dbm.c
View file @
8e7be51
...
...
@@ -80,24 +80,6 @@ mu_check_perm (const char *name, int mode)
}
static
char
*
strip_suffix
(
const
char
*
name
,
const
char
*
suffix
)
{
int
nlen
=
strlen
(
name
);
int
slen
=
strlen
(
suffix
);
char
*
p
;
if
(
nlen
>
slen
&&
strcmp
(
name
+
nlen
-
slen
,
suffix
)
==
0
)
{
p
=
xmalloc
(
nlen
-
slen
+
1
);
memcpy
(
p
,
name
,
nlen
-
slen
);
p
[
nlen
-
slen
]
=
0
;
}
else
p
=
xstrdup
(
name
);
return
p
;
}
static
char
*
make_db_name
(
const
char
*
name
,
const
char
*
suffix
)
{
int
nlen
=
strlen
(
name
);
...
...
libproto/maildir/mbox.c
View file @
8e7be51
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2003,
2004, 2005 Free Software Foundation, Inc.
2004, 2005
, 2007
Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
...
...
@@ -98,18 +98,6 @@ static struct info_map {
};
#define info_map_size (sizeof (info_map) / sizeof (info_map[0]))
/* FIXME: is not used */
static
int
info_map_letter
(
int
c
)
{
struct
info_map
*
p
;
for
(
p
=
info_map
;
p
<
info_map
+
info_map_size
;
p
++
)
if
(
p
->
letter
==
c
)
return
p
->
flag
;
return
0
;
}
/* NOTE: BUF must be at least 7 bytes long */
static
int
flags_to_info
(
int
flags
,
char
*
buf
)
...
...
mh/mh_format.c
View file @
8e7be51
...
...
@@ -279,14 +279,6 @@ print_fmt_string (struct mh_machine *mach, size_t fmtwidth, char *str)
}
}
/* FIXME: width? */
static
void
print_obj
(
struct
mh_machine
*
mach
,
size_t
width
,
strobj_t
*
obj
)
{
if
(
!
strobj_is_null
(
obj
))
print_string
(
mach
,
0
,
strobj_ptr
(
obj
));
}
static
void
reset_fmt_defaults
(
struct
mh_machine
*
mach
)
{
...
...
Please
register
or
sign in
to post a comment