summaryrefslogtreecommitdiff
path: root/dpkg-deb/main.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-11-12 01:04:49 +0100
committerGuillem Jover <guillem@debian.org>2013-12-05 10:19:33 +0100
commit632c785858b703042f13b6a5f7280fdd45a85f21 (patch)
tree726c475191d664125f61a6c9370d7d93e0413e35 /dpkg-deb/main.c
parentd2b2ee44cc400af91061fa3c58c3bbdd0cf0dc60 (diff)
downloaddpkg-632c785858b703042f13b6a5f7280fdd45a85f21.tar.gz
Rename cmdinfos set functions to have underscores between words
Diffstat (limited to 'dpkg-deb/main.c')
-rw-r--r--dpkg-deb/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dpkg-deb/main.c b/dpkg-deb/main.c
index 86909d798..ad130510b 100644
--- a/dpkg-deb/main.c
+++ b/dpkg-deb/main.c
@@ -206,7 +206,7 @@ set_compress_strategy(const struct cmdinfo *cip, const char *value)
}
static void
-setcompresstype(const struct cmdinfo *cip, const char *value)
+set_compress_type(const struct cmdinfo *cip, const char *value)
{
compress_params.type = compressor_find_by_name(value);
if (compress_params.type == compressor_type_unknown)
@@ -234,7 +234,7 @@ static const struct cmdinfo cmdinfos[]= {
{ "verbose", 'v', 0, &opt_verbose, NULL, NULL, 1 },
{ "nocheck", 0, 0, &nocheckflag, NULL, NULL, 1 },
{ NULL, 'z', 1, NULL, NULL, set_compress_level },
- { NULL, 'Z', 1, NULL, NULL, setcompresstype },
+ { NULL, 'Z', 1, NULL, NULL, set_compress_type },
{ NULL, 'S', 1, NULL, NULL, set_compress_strategy },
{ "showformat", 0, 1, NULL, &showformat, NULL },
{ "help", '?', 0, NULL, NULL, usage },