diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-24 23:35:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-24 23:35:08 +0000 |
commit | 9a9be186c79235b176fbc5a2afc0f6ecfaa202d0 (patch) | |
tree | ada75dc8f9ef67d0b257a3613c3295172afdd276 /qlop.c | |
parent | - lets use a save and restore method for handling stderr so we can reopen the... (diff) | |
download | portage-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 'qlop.c')
-rw-r--r-- | qlop.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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/qlop.c,v 1.26 2006/01/05 03:15:09 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qlop.c,v 1.27 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_QLOP + #ifdef __linux__ # include <asm/param.h> # define __QLOP_CURRENT__ @@ -39,7 +41,7 @@ static const char *qlop_opts_help[] = { "Read emerge logfile instead of " QLOP_DEFAULT_LOGFILE, COMMON_OPTS_HELP }; -static const char qlop_rcsid[] = "$Id: qlop.c,v 1.26 2006/01/05 03:15:09 vapier Exp $"; +static const char qlop_rcsid[] = "$Id: qlop.c,v 1.27 2006/01/24 23:35:08 vapier Exp $"; #define qlop_usage(ret) usage(ret, QLOP_FLAGS, qlop_long_opts, qlop_opts_help, lookup_applet_idx("qlop")) #define QLOP_LIST 0x01 @@ -403,3 +405,5 @@ int qlop_main(int argc, char **argv) return EXIT_SUCCESS; } + +#endif |