summaryrefslogtreecommitdiff
path: root/include/windows
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2015-06-30 16:27:27 +0000
committerBen Pfaff <blp@nicira.com>2015-07-01 14:00:18 -0700
commit23dec42fb0114a04f70f37b637ec05a61178bc53 (patch)
tree83c462de4ee46902027e67485b2cbd217fb5402b /include/windows
parent1af65cc711437d542a88088d02709af24cf62c91 (diff)
downloadopenvswitch-23dec42fb0114a04f70f37b637ec05a61178bc53.tar.gz
windows: Avoid OVS_UNUSED in Windows stubs for syslog.h.
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>
Diffstat (limited to 'include/windows')
-rw-r--r--include/windows/syslog.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/windows/syslog.h b/include/windows/syslog.h
index 242bfc4b6..d59cd3d0c 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, ...)
{
}