summaryrefslogtreecommitdiff
path: root/unlock_indicator.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 /unlock_indicator.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 'unlock_indicator.h')
-rw-r--r--unlock_indicator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/unlock_indicator.h b/unlock_indicator.h
index 8f039d2..e07c2a0 100644
--- a/unlock_indicator.h
+++ b/unlock_indicator.h
@@ -17,8 +17,8 @@ typedef enum {
} pam_state_t;
xcb_pixmap_t draw_image(uint32_t* resolution);
-void redraw_screen();
-void start_clear_indicator_timeout();
-void stop_clear_indicator_timeout();
+void redraw_screen(void);
+void start_clear_indicator_timeout(void);
+void stop_clear_indicator_timeout(void);
#endif