Skip to content

Commit

Permalink
windows: Avoid OVS_UNUSED in Windows stubs for syslog.h.
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
  • Loading branch information
Alin Serdean authored and shettyg committed Jul 11, 2015
1 parent f823133 commit 9b0c0dd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions 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
Expand Down Expand Up @@ -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, ...)
{
}

Expand Down

0 comments on commit 9b0c0dd

Please sign in to comment.