/[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.7 Revision 1.8
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.7 2006/01/05 03:35:43 vapier Exp $ 4 * $Header: /var/cvsroot/gentoo-projects/portage-utils/Attic/template.c,v 1.8 2006/01/07 16:25:28 solar 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
10#ifdef APPLET_qtemp
9 11
10#define QTEMP_FLAGS "" COMMON_FLAGS 12#define QTEMP_FLAGS "" COMMON_FLAGS
11static struct option const qtemp_long_opts[] = { 13static struct option const qtemp_long_opts[] = {
12 COMMON_LONG_OPTS 14 COMMON_LONG_OPTS
13}; 15};
14static const char *qtemp_opts_help[] = { 16static const char *qtemp_opts_help[] = {
15 COMMON_OPTS_HELP 17 COMMON_OPTS_HELP
16}; 18};
17 19
18static const char qtemp_rcsid[] = "$Id: template.c,v 1.7 2006/01/05 03:35:43 vapier Exp $"; 20static const char qtemp_rcsid[] = "$Id: template.c,v 1.8 2006/01/07 16:25:28 solar Exp $";
19#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"))
20 22
21 23
22int qtemp_main(int argc, char **argv) 24int qtemp_main(int argc, char **argv)
23{ 25{
34 36
35 37
36 38
37 return EXIT_SUCCESS; 39 return EXIT_SUCCESS;
38} 40}
41
42#else /* ! APPLET_qtemp */
43int qtemp_main(int argc, char **argv) {
44 errf("%s", err_noapplet);
45}
46#endif /* APPLET_qtemp */

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

  ViewVC Help
Powered by ViewVC 1.1.20