summaryrefslogtreecommitdiff
path: root/lib/poptALL.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-02-26 22:04:17 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-02-26 22:04:17 +0200
commitb010266b0ea24ddbdb087d37db9d7ee7d2a34e83 (patch)
treec588a04f37adabc65e9f17d83e494fecab9ce710 /lib/poptALL.c
parent2579e086c2be79d2d3f7e0e8ee3c25c25edd9a7b (diff)
downloadrpm-b010266b0ea24ddbdb087d37db9d7ee7d2a34e83.tar.gz
rpm-b010266b0ea24ddbdb087d37db9d7ee7d2a34e83.tar.bz2
rpm-b010266b0ea24ddbdb087d37db9d7ee7d2a34e83.zip
Remove hidden --nolibio cli switch, avoid exporting noLibio
Diffstat (limited to 'lib/poptALL.c')
-rw-r--r--lib/poptALL.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c
index feb94c052..18b91ad1f 100644
--- a/lib/poptALL.c
+++ b/lib/poptALL.c
@@ -63,8 +63,6 @@ extern int _rpmts_debug;
extern int _rpmts_stats;
-extern int noLibio;
-
const char * rpmcliPipeOutput = NULL;
const char * rpmcliRcfile = NULL;
@@ -73,8 +71,6 @@ const char * rpmcliRootDir = "/";
rpmQueryFlags rpmcliQueryFlags;
-extern int noLibio;
-
extern int _rpmio_debug;
static int rpmcliInitialized = -1;
@@ -224,10 +220,6 @@ struct poptOption rpmcliAllPoptTable[] = {
N_("don't verify package digest(s)"), NULL },
{ "nohdrchk", '\0', POPT_ARGFLAG_DOC_HIDDEN, 0, RPMCLI_POPT_NOHDRCHK,
N_("don't verify database header(s) when retrieved"), NULL },
-#if HAVE_LIBIO_H && defined(_G_IO_IO_FILE_VERSION)
- { "nolibio", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &noLibio, 1,
- N_("disable use of libio(3) API"), NULL},
-#endif
{ "nosignature", '\0', 0, 0, RPMCLI_POPT_NOSIGNATURE,
N_("don't verify package signature(s)"), NULL },
@@ -258,11 +250,6 @@ struct poptOption rpmcliAllPoptTable[] = {
{ "version", '\0', 0, NULL, POPT_SHOWVERSION,
N_("print the version of rpm being used"), NULL },
-#if HAVE_LIBIO_H && defined(_G_IO_IO_FILE_VERSION)
- { "nolibio", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &noLibio, 1,
- N_("disable use of libio(3) API"), NULL},
-#endif
-
{ "promoteepoch", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmds_nopromote, 0,
NULL, NULL},