Acheson = Acheson, D.J.: Elementary Fluid Dynamics, Oxford: Clarendon Press, 2005.
Falkovich = Falkovich, G: Fluid mechanics, 2nd ed., Cambridge: Cambridge University Press, 2018.
The vorticity equation
The barotropic version: $\frac{D \pmb{\omega}}{Dt}=(\pmb{\omega}\cdot\nabla)\pmb{u}$ [Acheson, p.17, (1.25)].
Remark. The incompressible, constant density [Acheson, p.6, §1.3, (ii)] version is a special case of the barotropic version.
The generalized version: $\frac{D}{Dt}(\frac{\pmb{\omega}}{\rho})=(\frac{\pmb{\omega}}{\rho}\cdot \nabla)\pmb{u}-\frac{1}{\rho}\nabla (\frac{1}{\rho})\times \nabla p$ [Acheson, p.25, (1.39)].
I. The barotropic version is a special case of the generalized version.
Proof.
$\nabla p=p'(\rho)\nabla \rho$.
$\nabla (\frac{1}{\rho})=-\rho^{-2}\nabla \rho$.
Consequently, $\nabla (\frac{1}{\rho})\times \nabla p=\pmb{0}$.
$\frac{D}{Dt}(\frac{\pmb{\omega}}{\rho})=\frac{1}{\rho}\frac{D\pmb{\omega}}{Dt}$ [we assume that $\rho$ is constant in $t$].
II. Proof of the generalized version.
Proof.
$\frac{\partial \pmb{u}}{\partial t}+\pmb{\omega}\times \pmb{u}+\frac{1}{2}\pmb{u}^2=-\frac{1}{\rho}\nabla p-\nabla \chi$ [Acheson, p.24, l.$-$1].
Taking the curl of the above equality, we have
$\frac{\partial \pmb{\omega}}{\partial t}+\nabla\times (\pmb{\omega}\times \pmb{u})=-\nabla\times (\frac{1}{\rho}\nabla p)$
$=-\nabla (\frac{1}{\rho})\times \nabla p$ [Acheson, p.348, (A.8)]. Thus,
$\frac{\partial \pmb{\omega}}{\partial t}=\nabla\times (\pmb{u}\times \pmb{\omega})-\nabla (\frac{1}{\rho})\times \nabla p$ ($*$).
If we substitute [Falkovich, p.17, (1.20)] into $\frac{\partial \pmb{\omega}}{\partial t}$ given in [Falkovich, p.17, $-$11], we obtain [Falkovich, p.17, (1.22)]. However, if we substitute ($*$) instead into $\frac{\partial \pmb{\omega}}{\partial t}$ given in [Falkovich, p.17, $-$11], we obtain [Acheson, p.25, (1.39)].
Remark. With the generalized version at hand, we may easily recognize what conditions we should impose on its hypothesis in order to get a specialized version.
This answer is excerpted from §1.12.(A), Remark 4 in https://sites.google.com/view/lcwangpress/%E9%A6%96%E9%A0%81/papers/quantum-mechanics.