From 23620cc24f850f14c0066dcac23f3991ba1b5b25 Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 7 Dec 2004 13:49:13 +0000 Subject: Typedefs of pointers to structs are evil. Make Lst and LstNode typedef of the structs itself not of pointers to them. This will simplify constification. Checked by: diff on the object files --- usr.bin/make/lst.lib/lstOpen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/make/lst.lib/lstOpen.c') diff --git a/usr.bin/make/lst.lib/lstOpen.c b/usr.bin/make/lst.lib/lstOpen.c index ee58530..0ac9299 100644 --- a/usr.bin/make/lst.lib/lstOpen.c +++ b/usr.bin/make/lst.lib/lstOpen.c @@ -69,7 +69,7 @@ __FBSDID("$FreeBSD$"); *----------------------------------------------------------------------- */ ReturnStatus -Lst_Open(Lst l) +Lst_Open(Lst *l) { if (Lst_Valid(l) == FALSE) { -- cgit v1.1