openflow.h: Remove unused OFP_PACKED macro.
authorBen Pfaff <blp@nicira.com>
Thu, 11 Feb 2010 19:45:29 +0000 (11:45 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 12 Feb 2010 21:56:15 +0000 (13:56 -0800)
include/openflow/openflow.h

index 1f18370..7806111 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #define OFP_ASSERT BOOST_STATIC_ASSERT
 #endif /* __cplusplus */
 
-#ifndef SWIG
-#define OFP_PACKED __attribute__((packed))
-#else
-#define OFP_PACKED              /* SWIG doesn't understand __attribute. */
-#endif
-
 /* The most significant bit being set in the version field indicates an
  * experimental OpenFlow version.  
  */