summaryrefslogtreecommitdiff
path: root/lst.lib/lstReplace.c
diff options
context:
space:
mode:
Diffstat (limited to 'lst.lib/lstReplace.c')
-rw-r--r--lst.lib/lstReplace.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/lst.lib/lstReplace.c b/lst.lib/lstReplace.c
index 090e91a72c6e..f30cb00855e3 100644
--- a/lst.lib/lstReplace.c
+++ b/lst.lib/lstReplace.c
@@ -1,4 +1,4 @@
-/* $NetBSD: lstReplace.c,v 1.13 2009/01/23 21:26:30 dsl Exp $ */
+/* $NetBSD: lstReplace.c,v 1.14 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: lstReplace.c,v 1.13 2009/01/23 21:26:30 dsl Exp $";
+static char rcsid[] = "$NetBSD: lstReplace.c,v 1.14 2020/07/03 08:37:57 rillig Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)lstReplace.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: lstReplace.c,v 1.13 2009/01/23 21:26:30 dsl Exp $");
+__RCSID("$NetBSD: lstReplace.c,v 1.14 2020/07/03 08:37:57 rillig Exp $");
#endif
#endif /* not lint */
#endif
@@ -69,10 +69,9 @@ ReturnStatus
Lst_Replace(LstNode ln, void *d)
{
if (ln == NULL) {
- return (FAILURE);
+ return FAILURE;
} else {
(ln)->datum = d;
- return (SUCCESS);
+ return SUCCESS;
}
}
-