summaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-02-12 13:56:12 -0800
committerBen Pfaff <blp@nicira.com>2010-02-12 13:56:12 -0800
commit381328fe36480b63a73cd5b164047e27622e772f (patch)
tree510cc92e3936033816df9dc29de599a9da580fec /lib/compiler.h
parent68d1c8c3c3de2f2dc093901d4d83567a37375bc4 (diff)
downloadopenvswitch-381328fe36480b63a73cd5b164047e27622e772f.tar.gz
compiler: Remove PACKED macro and its only (unneeded) user.
There is no point in marking a well-aligned structure PACKED. It can only cause trouble.
Diffstat (limited to 'lib/compiler.h')
-rw-r--r--lib/compiler.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compiler.h b/lib/compiler.h
index 0075ca87c..502a48cd1 100644
--- a/lib/compiler.h
+++ b/lib/compiler.h
@@ -19,7 +19,6 @@
#define NO_RETURN __attribute__((__noreturn__))
#define OVS_UNUSED __attribute__((__unused__))
-#define PACKED __attribute__((__packed__))
#define PRINTF_FORMAT(FMT, ARG1) __attribute__((__format__(printf, FMT, ARG1)))
#define STRFTIME_FORMAT(FMT) __attribute__((__format__(__strftime__, FMT, 0)))
#define MALLOC_LIKE __attribute__((__malloc__))