aboutsummaryrefslogtreecommitdiff
path: root/quse.c
diff options
context:
space:
mode:
Diffstat (limited to 'quse.c')
-rw-r--r--quse.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/quse.c b/quse.c
index f5be845..81ad8da 100644
--- a/quse.c
+++ b/quse.c
@@ -1,19 +1,19 @@
/*
* Copyright 2005-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/quse.c,v 1.45 2006/01/07 16:25:28 solar Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/quse.c,v 1.46 2006/01/24 23:35:08 vapier Exp $
*
* Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
*/
+#ifndef OMIT_QUSE
+
/*
quse -CKe -- '-*' {'~',-,}{alpha,amd64,hppa,ia64,ppc,ppc64,sparc,x86}
quse -Ke -- nls
*/
-#ifdef APPLET_quse
-
#define QUSE_FLAGS "eavKLD" COMMON_FLAGS
static struct option const quse_long_opts[] = {
{"exact", no_argument, NULL, 'e'},
@@ -33,7 +33,7 @@ static const char *quse_opts_help[] = {
/* "Use your own variable formats. -F NAME=", */
COMMON_OPTS_HELP
};
-static const char quse_rcsid[] = "$Id: quse.c,v 1.45 2006/01/07 16:25:28 solar Exp $";
+static const char quse_rcsid[] = "$Id: quse.c,v 1.46 2006/01/24 23:35:08 vapier Exp $";
#define quse_usage(ret) usage(ret, QUSE_FLAGS, quse_long_opts, quse_opts_help, lookup_applet_idx("quse"))
int quse_describe_flag(int ind, int argc, char **argv);
@@ -351,9 +351,4 @@ int quse_main(int argc, char **argv)
return EXIT_SUCCESS;
}
-#else /* ! APPLET_quse */
-int quse_main(int argc, char **argv) {
- errf("%s", err_noapplet);
-}
-#endif /* APPLET_quse */
-
+#endif