[ovs-dev] [PATCH 1/2] OVS_UNUSED is defined indirectly

Alin Serdean aserdean at cloudbasesolutions.com
Tue Jun 30 16:27:27 UTC 2015


Currently OVS_UNUSED is defined in compiler.h since syslog.h is a
standalone wrapper remove it from the parameters.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
---
 include/windows/syslog.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/windows/syslog.h b/include/windows/syslog.h
index 242bfc4..d59cd3d 100644
--- a/include/windows/syslog.h
+++ b/include/windows/syslog.h
@@ -1,5 +1,5 @@
 /*
- * Copyright 2013 Cloudbase Solutions Srl
+ * Copyright 2013, 2015 Cloudbase Solutions Srl
  *
  * Licensed under the Apache License, Version 2.0 (the "License"); you may
  * not use this file except in compliance with the License.You may obtain
@@ -50,13 +50,12 @@
 #define LOG_LOCAL7      (23<<3) /* reserved for local use */
 
 static inline void
-openlog(const char *ident OVS_UNUSED, int option OVS_UNUSED,
-        int facility OVS_UNUSED)
+openlog(const char *ident, int option, int facility)
 {
 }
 
 static inline void
-syslog(int priority OVS_UNUSED, const char *format OVS_UNUSED, ...)
+syslog(int priority, const char *format, ...)
 {
 }
 
-- 
1.9.5.msysgit.0



More information about the dev mailing list