From 9b0c0dd3ef024988939a76366d1de1e710b5fd3e Mon Sep 17 00:00:00 2001 From: Alin Serdean Date: Tue, 30 Jun 2015 16:27:27 +0000 Subject: [PATCH] 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 Acked-by: Eitan Eliahu Signed-off-by: Ben Pfaff Signed-off-by: Gurucharan Shetty --- 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 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, ...) { } -- GitLab