aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-26 02:32:04 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-26 02:32:04 +0000
commit6cb8d659c3aef61c2dd237f99bf2e1d40a443b6b (patch)
tree56c670207771cc26c4f9fce8cf72872f0da3e7d9 /qglsa.c
parentuse NULL when dealing with pointers, not 0 (diff)
downloadportage-utils-6cb8d659c3aef61c2dd237f99bf2e1d40a443b6b.tar.gz
portage-utils-6cb8d659c3aef61c2dd237f99bf2e1d40a443b6b.tar.bz2
portage-utils-6cb8d659c3aef61c2dd237f99bf2e1d40a443b6b.zip
define stub functions for now since the weak handling is broken when building as a PIE
Diffstat (limited to 'qglsa.c')
-rw-r--r--qglsa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/qglsa.c b/qglsa.c
index 5407a402..07bdd120 100644
--- a/qglsa.c
+++ b/qglsa.c
@@ -1,7 +1,7 @@
/*
* 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.3 2006/01/25 01:51:42 vapier Exp $
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/qglsa.c,v 1.4 2006/01/26 02:32:04 vapier Exp $
*
* Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
@@ -31,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.3 2006/01/25 01:51:42 vapier Exp $";
+static const char qglsa_rcsid[] = "$Id: qglsa.c,v 1.4 2006/01/26 02:32:04 vapier Exp $";
#define qglsa_usage(ret) usage(ret, QGLSA_FLAGS, qglsa_long_opts, qglsa_opts_help, lookup_applet_idx("qglsa"))
@@ -156,4 +156,6 @@ int qglsa_main(int argc, char **argv)
return EXIT_SUCCESS;
}
+#else
+DEFINE_APPLET_STUB(qglsa)
#endif