[dpdk-dev] [memnic PATCH 3/3] common: remove double underscores

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jan 24 17:18:32 CET 2014


The usage of double underscores is reserved.

Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 common/memnic.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/memnic.h b/common/memnic.h
index 58dd019..e5b3c6f 100644
--- a/common/memnic.h
+++ b/common/memnic.h
@@ -28,8 +28,8 @@
  *
  */
 
-#ifndef __MEMNIC_H__
-#define __MEMNIC_H__
+#ifndef MEMNIC_H
+#define MEMNIC_H
 
 #define MEMNIC_MAGIC		0x43494e76
 #define MEMNIC_VERSION		0x00000001
@@ -135,4 +135,4 @@ static inline uint32_t cmpxchg(uint32_t *dst, uint32_t old, uint32_t new)
 }
 #endif /* __KERNEL__ */
 
-#endif /* __MEMNIC_H__ */
+#endif /* MEMNIC_H */
-- 
1.7.10.4



More information about the dev mailing list