]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace STAILQ with TAILQ. TAILQs are portable enough that they can
authormarcel <marcel@FreeBSD.org>
Mon, 3 Oct 2016 01:46:47 +0000 (01:46 +0000)
committermarcel <marcel@FreeBSD.org>
Mon, 3 Oct 2016 01:46:47 +0000 (01:46 +0000)
commitf258aa5cde1113f397c3300bd85cc1798b6a7960
treeb5ac18a8c298137ea974da7a2ce7c2e4676288d2
parentb4f8f91f08ed24138c908a6734e649ab1d5e8d52
Replace STAILQ with TAILQ. TAILQs are portable enough that they can
be used on both macOS and Linux. STAILQs are not. In particular,
STAILQ_LAST does not next on Linux. Since neither STAILQ_FOREACH_SAFE
nor TAILQ_FOREACH_SAFE exist on Linux, replace its use with a regular
TAILQ_FOREACH. The _SAFE variant was only used for having the next
pointer in a local variable.
usr.bin/mkimg/apm.c
usr.bin/mkimg/bsd.c
usr.bin/mkimg/ebr.c
usr.bin/mkimg/gpt.c
usr.bin/mkimg/image.c
usr.bin/mkimg/mbr.c
usr.bin/mkimg/mkimg.c
usr.bin/mkimg/mkimg.h
usr.bin/mkimg/pc98.c
usr.bin/mkimg/vtoc8.c