Commit 37f8a1f77593cdbaee65a4f63c9db99f0f81c34f

Kano 2012-09-21T22:04:39

reduce windows compile warnings

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/compat.h b/compat.h
index c6e38d8..f7cb4da 100644
--- a/compat.h
+++ b/compat.h
@@ -57,7 +57,7 @@ enum {
 	PRIO_PROCESS		= 0,
 };
 
-static inline int setpriority(int which, int who, int prio)
+static inline int setpriority(__maybe_unused int which, __maybe_unused int who, __maybe_unused int prio)
 {
 	/* FIXME - actually do something */
 	return 0;