|
From: | C . W . Betts |
Subject: | [Qemu-devel] Header Protection on mac_dbdma.h |
Date: | Sun, 8 Feb 2009 22:29:45 -0700 |
I noticed that the header hw/mac_dbdma.h isn't protected from multiple inclusions. The patch fixes that. Index: hw/mac_dbdma.h =================================================================== --- hw/mac_dbdma.h (revision 6564) +++ hw/mac_dbdma.h (working copy) @@ -19,6 +19,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MAC_DBDMA_H__ +#define __MAC_DBDMA_H__ typedef struct { void *opaque; @@ -39,3 +41,4 @@ void *opaque); void DBDMA_schedule(void); void* DBDMA_init (int *dbdma_mem_index); +#endif |
mac_dbdma-patch.diff
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |