/[gentoo-projects]/portage-utils/template.c
Gentoo

Diff of /portage-utils/template.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
1/* 1/*
2 * Copyright 2005-2006 Gentoo Foundation 2 * Copyright 2005-2006 Gentoo Foundation
3 * Distributed under the terms of the GNU General Public License v2 3 * Distributed under the terms of the GNU General Public License v2
4 * $Header: /var/cvsroot/gentoo-projects/portage-utils/Attic/template.c,v 1.8 2006/01/07 16:25:28 solar Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/portage-utils/Attic/template.c,v 1.9 2006/01/24 23:35:08 vapier Exp $
5 * 5 *
6 * Copyright 2005-2006 Ned Ludd - <solar@gentoo.org> 6 * Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
7 * Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org> 7 * Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
8 */ 8 */
9 9
10#ifdef APPLET_qtemp 10#ifndef OMIT_QTEMP
11 11
12#define QTEMP_FLAGS "" COMMON_FLAGS 12#define QTEMP_FLAGS "" COMMON_FLAGS
13static struct option const qtemp_long_opts[] = { 13static struct option const qtemp_long_opts[] = {
14 COMMON_LONG_OPTS 14 COMMON_LONG_OPTS
15}; 15};
16static const char *qtemp_opts_help[] = { 16static const char *qtemp_opts_help[] = {
17 COMMON_OPTS_HELP 17 COMMON_OPTS_HELP
18}; 18};
19 19
20static const char qtemp_rcsid[] = "$Id: template.c,v 1.8 2006/01/07 16:25:28 solar Exp $"; 20static const char qtemp_rcsid[] = "$Id: template.c,v 1.9 2006/01/24 23:35:08 vapier Exp $";
21#define qtemp_usage(ret) usage(ret, QTEMP_FLAGS, qtemp_long_opts, qtemp_opts_help, lookup_applet_idx("qtemp")) 21#define qtemp_usage(ret) usage(ret, QTEMP_FLAGS, qtemp_long_opts, qtemp_opts_help, lookup_applet_idx("qtemp"))
22 22
23 23
24int qtemp_main(int argc, char **argv) 24int qtemp_main(int argc, char **argv)
25{ 25{
37 37
38 38
39 return EXIT_SUCCESS; 39 return EXIT_SUCCESS;
40} 40}
41 41
42#else /* ! APPLET_qtemp */ 42#endif
43int qtemp_main(int argc, char **argv) {
44 errf("%s", err_noapplet);
45}
46#endif /* APPLET_qtemp */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20