From 25acf322b972c15468b56f022cb48187409df339 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 11 Feb 2010 11:45:29 -0800 Subject: [PATCH] openflow.h: Remove unused OFP_PACKED macro. --- include/openflow/openflow.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h index 1f183707..78061118 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. */ -- 2.30.2