summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-12-09 15:31:32 +0000
committerharti <harti@FreeBSD.org>2004-12-09 15:31:32 +0000
commit972d6db1ca14d90fc3676b343115398d30ba5e17 (patch)
tree1e5bac48533726b3eea91d5474e238c375a2ceb4 /usr.bin/make/lst.h
parenta007e1cba7c483d7a14d89c866c6ce59f624c3ef (diff)
downloadFreeBSD-src-972d6db1ca14d90fc3676b343115398d30ba5e17.zip
FreeBSD-src-972d6db1ca14d90fc3676b343115398d30ba5e17.tar.gz
Nobody actually checked the return codes from Lst_Append and Lst_Insert
so don't return anything.
Diffstat (limited to 'usr.bin/make/lst.h')
-rw-r--r--usr.bin/make/lst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/lst.h b/usr.bin/make/lst.h
index e9c8f1c..f78d523 100644
--- a/usr.bin/make/lst.h
+++ b/usr.bin/make/lst.h
@@ -112,9 +112,9 @@ void Lst_Destroy(Lst *, FreeProc *);
* Functions to modify a list
*/
/* Insert an element before another */
-ReturnStatus Lst_Insert(Lst *, LstNode *, void *);
+void Lst_Insert(Lst *, LstNode *, void *);
/* Insert an element after another */
-ReturnStatus Lst_Append(Lst *, LstNode *, void *);
+void Lst_Append(Lst *, LstNode *, void *);
/* Place an element at the front of a lst. */
#define Lst_AtFront(LST, D) (Lst_Insert((LST), Lst_First(LST), (D)))
/* Place an element at the end of a lst. */
OpenPOWER on IntegriCloud