aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/lst.lib/lstInsert.c
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2020-07-08 21:20:12 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2020-07-08 21:20:12 +0000
commit2d147b4741a5f1bd321bda1fe78f5947b5cb1f2b (patch)
tree4853db2280508f3cb1caee0a6d5635df9650ef09 /contrib/bmake/lst.lib/lstInsert.c
parente18c80bcb6be66b1e3b6f4676ed681143b53f876 (diff)
parent1a2b743f6b4022dada4eeaa96ac47a5c1a2429f5 (diff)
Notes
Diffstat (limited to 'contrib/bmake/lst.lib/lstInsert.c')
-rw-r--r--contrib/bmake/lst.lib/lstInsert.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/bmake/lst.lib/lstInsert.c b/contrib/bmake/lst.lib/lstInsert.c
index 77187bb327e2..845b8899e03b 100644
--- a/contrib/bmake/lst.lib/lstInsert.c
+++ b/contrib/bmake/lst.lib/lstInsert.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lstInsert.c,v 1.14 2009/01/23 21:26:30 dsl Exp $ */
+/* $NetBSD: lstInsert.c,v 1.15 2020/07/03 08:37:57 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -33,14 +33,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: lstInsert.c,v 1.14 2009/01/23 21:26:30 dsl Exp $";
+static char rcsid[] = "$NetBSD: lstInsert.c,v 1.15 2020/07/03 08:37:57 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)lstInsert.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: lstInsert.c,v 1.14 2009/01/23 21:26:30 dsl Exp $");
+__RCSID("$NetBSD: lstInsert.c,v 1.15 2020/07/03 08:37:57 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -87,7 +87,7 @@ Lst_InsertBefore(Lst l, LstNode ln, void *d)
goto ok;
if (!LstValid (l) || LstIsEmpty (l) || !LstNodeValid (ln, l)) {
- return (FAILURE);
+ return FAILURE;
}
ok:
@@ -117,6 +117,5 @@ Lst_InsertBefore(Lst l, LstNode ln, void *d)
}
}
- return (SUCCESS);
+ return SUCCESS;
}
-