summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/parse.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-03-09 16:31:19 +0000
committerrwatson <rwatson@FreeBSD.org>2004-03-09 16:31:19 +0000
commit2895d8d1ead2cb27aa5b4e8936023131e85c8b1c (patch)
tree9a4b02608a664b4fa12b7995ed456e6312b690c5 /usr.bin/make/parse.c
parent97051410207dab26540eac36237466ff6f2f9be5 (diff)
downloadFreeBSD-src-2895d8d1ead2cb27aa5b4e8936023131e85c8b1c.zip
FreeBSD-src-2895d8d1ead2cb27aa5b4e8936023131e85c8b1c.tar.gz
Introduce disc_mtx to protect the global softc list in if_disc.
Since there are two destroy paths for if_disc interfaces -- module unload and cloan interface destroy, create a new utility function disc_destroy(), which is callded on a softc after it has been removed from the global softc list; the cloaner and module unload entry paths will both remove it before calling disc_destroy(). Reviewed by: pjd
Diffstat (limited to 'usr.bin/make/parse.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud