repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove commited or upstreamed patches from quilt series.
[deb_libcec.git]
/
src
/
lib
/
platform
/
os.h
diff --git
a/src/lib/platform/os.h
b/src/lib/platform/os.h
index 8f88607f6ba8c3ce95ddbc2a53e799dd14b5cbf7..d3108e4f5126fe997be83fe477deca2de4f8bf8a 100644
(file)
--- a/
src/lib/platform/os.h
+++ b/
src/lib/platform/os.h
@@
-2,7
+2,7
@@
/*
* This file is part of the libCEC(R) library.
*
/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011
-2013
Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
@@
-31,6
+31,15
@@
* http://www.pulse-eight.net/
*/
* http://www.pulse-eight.net/
*/
+#ifdef UNUSED
+#elif defined(__GNUC__)
+#define UNUSED(x) UNUSED_ ## x __attribute__((unused))
+#elif defined(__LCLINT__)
+#define UNUSED(x) /*@unused@*/ x
+#else
+#define UNUSED(x) x
+#endif
+
#if (defined(_WIN32) || defined(_WIN64))
#include "windows/os-types.h"
#else
#if (defined(_WIN32) || defined(_WIN64))
#include "windows/os-types.h"
#else