~ubuntu-branches/ubuntu/oneiric/pmake/oneiric

« back to all changes in this revision

Viewing changes to lst.lib/lstAtFront.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: lstAtFront.c,v 1.9 2003/08/07 11:15:03 agc Exp $       */
 
1
/*      $NetBSD: lstAtFront.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: lstAtFront.c,v 1.9 2003/08/07 11:15:03 agc Exp $";
 
35
#ifndef MAKE_NATIVE
 
36
static char rcsid[] = "$NetBSD: lstAtFront.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[] = "@(#)lstAtFront.c        8.1 (Berkeley) 6/6/93";
42
42
#else
43
 
__RCSID("$NetBSD: lstAtFront.c,v 1.9 2003/08/07 11:15:03 agc Exp $");
 
43
__RCSID("$NetBSD: lstAtFront.c,v 1.11 2005/02/16 15:11:53 christos Exp $");
44
44
#endif
45
45
#endif /* not lint */
46
46
#endif
71
71
{
72
72
    LstNode     front;
73
73
 
74
 
    front = Lst_First (l);
75
 
    return (Lst_Insert (l, front, d));
 
74
    front = Lst_First(l);
 
75
    return (Lst_Insert(l, front, d));
76
76
}