cvs commit: src/sys/dev/usb usbdi_util.h
luigi at FreeBSD.org
Wed Jan 3 02:50:04 PST 2007
luigi 2007-01-03 10:50:03 UTC
FreeBSD src repository
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
More information about the cvs-src