summaryrefslogtreecommitdiffstats
path: root/src/include/osdep.h
diff options
context:
space:
mode:
authorMichael Brown2005-05-17 14:16:28 +0200
committerMichael Brown2005-05-17 14:16:28 +0200
commit3bbf5f28a37e2dda53a835de59c99fdb6fdf631e (patch)
tree954b88c043ada9877855342dae041598c96a2238 /src/include/osdep.h
parentUse the heap functions to allocate a load buffer. (diff)
downloadipxe-3bbf5f28a37e2dda53a835de59c99fdb6fdf631e.tar.gz
ipxe-3bbf5f28a37e2dda53a835de59c99fdb6fdf631e.tar.xz
ipxe-3bbf5f28a37e2dda53a835de59c99fdb6fdf631e.zip
Use __unused instead of __used for static data structures.
Remove compiler.h defines from osdep.h
Diffstat (limited to 'src/include/osdep.h')
-rw-r--r--src/include/osdep.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/include/osdep.h b/src/include/osdep.h
index 121eacae..262c2d96 100644
--- a/src/include/osdep.h
+++ b/src/include/osdep.h
@@ -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")