aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-24 23:35:08 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-24 23:35:08 +0000
commit9a9be186c79235b176fbc5a2afc0f6ecfaa202d0 (patch)
treeada75dc8f9ef67d0b257a3613c3295172afdd276 /qglsa.c
parent- lets use a save and restore method for handling stderr so we can reopen the... (diff)
downloadportage-utils-9a9be186c79235b176fbc5a2afc0f6ecfaa202d0.tar.gz
portage-utils-9a9be186c79235b176fbc5a2afc0f6ecfaa202d0.tar.bz2
portage-utils-9a9be186c79235b176fbc5a2afc0f6ecfaa202d0.zip
touchup how we declare/include applets so that many steps can be automated
Diffstat (limited to 'qglsa.c')
-rw-r--r--qglsa.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/qglsa.c b/qglsa.c
index b26c424..adf4346 100644
--- a/qglsa.c
+++ b/qglsa.c
@@ -1,12 +1,14 @@
/*
* Copyright 2005-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/portage-utils/qglsa.c,v 1.1 2006/01/24 00:29:00 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qglsa.c,v 1.2 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_QGLSA
+
#define QGLSA_DB "/var/cache/edb/glsa"
@@ -29,7 +31,7 @@ static const char *qglsa_opts_help[] = {
"Mark specified GLSAs as fixed",
COMMON_OPTS_HELP
};
-static const char qglsa_rcsid[] = "$Id: qglsa.c,v 1.1 2006/01/24 00:29:00 vapier Exp $";
+static const char qglsa_rcsid[] = "$Id: qglsa.c,v 1.2 2006/01/24 23:35:08 vapier Exp $";
#define qglsa_usage(ret) usage(ret, QGLSA_FLAGS, qglsa_long_opts, qglsa_opts_help, lookup_applet_idx("qglsa"))
@@ -153,3 +155,5 @@ int qglsa_main(int argc, char **argv)
return EXIT_SUCCESS;
}
+
+#endif