summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-09-17 04:31:28 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-09-17 04:31:28 +0200
commitc72ad4dca58421486e1462b3b079dd55293dab6a (patch)
treeb33a972ab33fbf6a02e403a58462b6c8f42f1138 /tools
parent0cde26ecde1e384d3c8c8c3ae3c7f764b52747e0 (diff)
downloadrpm-c72ad4dca58421486e1462b3b079dd55293dab6a.tar.gz
rpm-c72ad4dca58421486e1462b3b079dd55293dab6a.tar.bz2
rpm-c72ad4dca58421486e1462b3b079dd55293dab6a.zip
Reformat call to poptGetContext for better source-code readability.
Diffstat (limited to 'tools')
-rw-r--r--tools/debugedit.c3
-rw-r--r--tools/rpminject.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/debugedit.c b/tools/debugedit.c
index ad81813d4..ca30877e2 100644
--- a/tools/debugedit.c
+++ b/tools/debugedit.c
@@ -1433,8 +1433,7 @@ main (int argc, char *argv[])
Elf_Data *build_id = NULL;
size_t build_id_offset = 0, build_id_size = 0;
- optCon = poptGetContext("debugedit", argc, (const char **)argv,
- optionsTable, 0);
+ optCon = poptGetContext("debugedit", argc, (const char **)argv, optionsTable, 0);
while ((nextopt = poptGetNextOpt (optCon)) > 0 || nextopt == POPT_ERROR_BADOPT)
/* do nothing */ ;
diff --git a/tools/rpminject.c b/tools/rpminject.c
index 1a15774c7..e71a98705 100644
--- a/tools/rpminject.c
+++ b/tools/rpminject.c
@@ -471,9 +471,7 @@ main(int argc, char *argv[])
(void)textdomain(PACKAGE);
#endif
- optCon = poptGetContext("rpminject",
- argc, (const char **) argv,
- optionsTable, 0);
+ optCon = poptGetContext("rpminject", argc, (const char **) argv, optionsTable, 0);
poptReadDefaultConfig(optCon, 1);
while ((arg = poptGetNextOpt(optCon)) > 0) {