summaryrefslogtreecommitdiff
path: root/xinerama.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2012-04-01 12:28:28 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-04-01 12:28:28 +0200
commitdc2b6e5f3985354d42ea015afc15be2258d6b660 (patch)
tree744e51a3e7794d372f1e541b6b09af1af63b3d3c /xinerama.h
parent3c2436cb71cf37fe4f12eb6b1ccbbe3393ade2b1 (diff)
Use (void) instead of () for functions without args (Thanks fernandotcl)
See also: http://article.gmane.org/gmane.linux.kernel/1268792 The C compiler will handle (void) as "no arguments" and () as "variadic function" (equivalent to (...)) which might lead to subtle errors, such as the one which was fixed with commit 0ea64ae4.
Diffstat (limited to 'xinerama.h')
-rw-r--r--xinerama.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xinerama.h b/xinerama.h
index 207a9a8..a0de3c1 100644
--- a/xinerama.h
+++ b/xinerama.h
@@ -11,7 +11,7 @@ typedef struct Rect {
extern int xr_screens;
extern Rect *xr_resolutions;
-void xinerama_init();
-void xinerama_query_screens();
+void xinerama_init(void);
+void xinerama_query_screens(void);
#endif