summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.c
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-05-18 06:50:39 +0000
committerharti <harti@FreeBSD.org>2005-05-18 06:50:39 +0000
commit94c62408e0a3b72b7a5541a0a1689b2b2d07d22b (patch)
tree2ef0ee4258536151be44b291f126ca65d0911074 /usr.bin/make/lst.c
parente04ec83e806222d865bbf9be744c8460bf43e184 (diff)
downloadFreeBSD-src-94c62408e0a3b72b7a5541a0a1689b2b2d07d22b.zip
FreeBSD-src-94c62408e0a3b72b7a5541a0a1689b2b2d07d22b.tar.gz
Get rid of the ReturnStatus obscuration that was anyway used only
in two places. While here don't bother returning anything from Lst_Replace - nobody ever checks the return code. Suggested by: jmallet
Diffstat (limited to 'usr.bin/make/lst.c')
-rw-r--r--usr.bin/make/lst.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.bin/make/lst.c b/usr.bin/make/lst.c
index cf457db..a5b7f06 100644
--- a/usr.bin/make/lst.c
+++ b/usr.bin/make/lst.c
@@ -92,9 +92,6 @@ Lst_Append(Lst *list, LstNode *ln, void *d)
* If the elements should be duplicated to avoid confusion with another
* list, the Lst_Duplicate function should be called first.
*
- * Results:
- * SUCCESS if all went well. FAILURE otherwise.
- *
* Arguments:
* list1 The list to which list2 is to be appended
* list2 The list to append to list1
@@ -315,9 +312,6 @@ Lst_Member(Lst *list, void *d)
* Lst_Remove
* Remove the given node from the given list.
*
- * Results:
- * SUCCESS or FAILURE.
- *
* Side Effects:
* The list's firstPtr will be set to NULL if ln is the last
* node on the list. firsPtr and lastPtr will be altered if ln is
OpenPOWER on IntegriCloud