Date: Wed, 3 Jan 2007 10:50:04 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb usbdi_util.h Message-ID: <200701031050.l03Ao4fH033513@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
luigi 2007-01-03 10:50:03 UTC FreeBSD src repository Modified files: sys/dev/usb usbdi_util.h Log: protect against multiple inclusion (this is useful when you start working with third party usb modules, where sometimes it is not easy to set the inclusion order so that there are no multiple inclusions, yet you want to compile with high WARNS levels). I am not sure if there is a standard for having a leading and/or trailing _ in the macro name, the usb code seems to use both. There are still several unprotected headers here so it might be useful to do the same thing on other files as well as the need arises. MFC After: 3 days Revision Changes Path 1.21 +3 -0 src/sys/dev/usb/usbdi_util.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701031050.l03Ao4fH033513>