summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-09-17 04:32:23 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-09-17 04:32:23 +0200
commit826e49f5d9a5095a53fc5216048983483b4be1e7 (patch)
tree36a3c41147d4c32bc485c5c408f80f153da0b83d
parentc72ad4dca58421486e1462b3b079dd55293dab6a (diff)
downloadlibrpm-tizen-826e49f5d9a5095a53fc5216048983483b4be1e7.tar.gz
librpm-tizen-826e49f5d9a5095a53fc5216048983483b4be1e7.tar.bz2
librpm-tizen-826e49f5d9a5095a53fc5216048983483b4be1e7.zip
Rename options into optionsTable for source-code consistency.
-rw-r--r--tools/genhdlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/genhdlist.c b/tools/genhdlist.c
index 9f9627f75..208dfbf98 100644
--- a/tools/genhdlist.c
+++ b/tools/genhdlist.c
@@ -430,14 +430,14 @@ int main(int argc, const char ** argv) {
char * hdListFile2 = NULL;
char * depOrderFile = NULL;
poptContext optCon;
- struct poptOption options[] = {
+ struct poptOption optionsTable[] = {
{ "hdlist", '\0', POPT_ARG_STRING, &hdListFile, 0 },
{ "withnumbers", '\0', 0, &doNumber, 0 },
{ "fileorder", '\0', POPT_ARG_STRING, &depOrderFile, 0 },
{ 0, 0, 0, 0, 0 }
};
- optCon = poptGetContext("genhdlist", argc, argv, options, 0);
+ optCon = poptGetContext("genhdlist", argc, argv, optionsTable, 0);
poptReadDefaultConfig(optCon, 1);
if ((rc = poptGetNextOpt(optCon)) < -1) {