aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-02-11 10:59:47 -0800
committerBen Pfaff <blp@nicira.com>2010-02-11 10:59:47 -0800
commit67a4917b07031b387beafaedce413b4207214059 (patch)
tree0b14aebd79b746f7f5d943be9829cd359fcb49c5 /lib/compiler.h
parent193ec5109dedb23058dfa734545313b5b3ba10c8 (diff)
Rename UNUSED macro to OVS_UNUSED to avoid naming conflict.
Requested by Jean Tourrilhes <jt@hpl.hp.com>.
Diffstat (limited to 'lib/compiler.h')
-rw-r--r--lib/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler.h b/lib/compiler.h
index 17e245fc..0075ca87 100644
--- a/lib/compiler.h
+++ b/lib/compiler.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
#define COMPILER_H 1
#define NO_RETURN __attribute__((__noreturn__))
-#define UNUSED __attribute__((__unused__))
+#define OVS_UNUSED __attribute__((__unused__))
#define PACKED __attribute__((__packed__))
#define PRINTF_FORMAT(FMT, ARG1) __attribute__((__format__(printf, FMT, ARG1)))
#define STRFTIME_FORMAT(FMT) __attribute__((__format__(__strftime__, FMT, 0)))