~ubuntu-branches/ubuntu/saucy/pmake/saucy-proposed

« back to all changes in this revision

Viewing changes to lst.lib/lstAtEnd.c

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2005-07-07 10:20:56 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050707102056-3nh411zy3wbwuwyr
Tags: 1.111-1
* New upstream snapshot.
* This version properly parses arguments and does not crash when parameters
  are missing (Closes: #287336, #316394).
* debian/control:
  + Set policy to 3.6.2.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $NetBSD: lstAtEnd.c,v 1.9 2003/08/07 11:15:03 agc Exp $ */
 
1
/*      $NetBSD: lstAtEnd.c,v 1.11 2005/02/16 15:11:53 christos Exp $   */
2
2
 
3
3
/*
4
4
 * Copyright (c) 1988, 1989, 1990, 1993
32
32
 * SUCH DAMAGE.
33
33
 */
34
34
 
35
 
#ifdef MAKE_BOOTSTRAP
36
 
static char rcsid[] = "$NetBSD: lstAtEnd.c,v 1.9 2003/08/07 11:15:03 agc Exp $";
 
35
#ifndef MAKE_NATIVE
 
36
static char rcsid[] = "$NetBSD: lstAtEnd.c,v 1.11 2005/02/16 15:11:53 christos Exp $";
37
37
#else
38
38
#include <sys/cdefs.h>
39
39
#ifndef lint
40
40
#if 0
41
41
static char sccsid[] = "@(#)lstAtEnd.c  8.1 (Berkeley) 6/6/93";
42
42
#else
43
 
__RCSID("$NetBSD: lstAtEnd.c,v 1.9 2003/08/07 11:15:03 agc Exp $");
 
43
__RCSID("$NetBSD: lstAtEnd.c,v 1.11 2005/02/16 15:11:53 christos Exp $");
44
44
#endif
45
45
#endif /* not lint */
46
46
#endif
74
74
{
75
75
    LstNode     end;
76
76
 
77
 
    end = Lst_Last (l);
78
 
    return (Lst_Append (l, end, d));
 
77
    end = Lst_Last(l);
 
78
    return (Lst_Append(l, end, d));
79
79
}