windows: Avoid OVS_UNUSED in Windows stubs for syslog.h.
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Tue, 30 Jun 2015 16:27:27 +0000 (16:27 +0000)
committerBen Pfaff <blp@nicira.com>
Wed, 1 Jul 2015 21:00:18 +0000 (14:00 -0700)
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@cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
include/windows/syslog.h

index 242bfc4..d59cd3d 100644 (file)
@@ -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
 #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, ...)
 {
 }