[ovs-dev] [PATCH 13/16] openflow.h: Remove unused OFP_PACKED macro.

Ben Pfaff blp at nicira.com
Thu Feb 11 15:18:15 PST 2010


---
 include/openflow/openflow.h |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h
index 1f18370..7806111 100644
--- a/include/openflow/openflow.h
+++ b/include/openflow/openflow.h
@@ -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.
@@ -37,12 +37,6 @@
 #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.  
  */
-- 
1.6.6.1





More information about the dev mailing list