Use __unused instead of __used for static data structures.

Remove compiler.h defines from osdep.h
This commit is contained in:
Michael Brown
2005-05-17 12:16:28 +00:00
parent 301b2d40f0
commit 3bbf5f28a3
7 changed files with 24 additions and 18 deletions
-4
View File
@@ -1,10 +1,6 @@
#ifndef ETHERBOOT_OSDEP_H
#define ETHERBOOT_OSDEP_H
#define __unused __attribute__((unused))
#define __aligned __attribute__((aligned(16)))
#define PACKED __attribute__((packed))
/* Optimization barrier */
/* The "volatile" is due to gcc bugs */
#define barrier() __asm__ __volatile__("": : :"memory")