]> git.sur5r.net Git - i3/i3/blobdiff - i3bar/src/workspaces.c
Use (void) instead of () for functions without args
[i3/i3] / i3bar / src / workspaces.c
index 6db37983e0ddcad5d7983a19a8f11f4474ec314f..5e01b98d8257e011166adcfe04d8f052a425b575 100644 (file)
@@ -2,7 +2,7 @@
  * vim:ts=4:sw=4:expandtab
  *
  * i3bar - an xcb-based status- and ws-bar for i3
- * © 2010-2011 Axel Wagner and contributors (see also: LICENSE)
+ * © 2010-2012 Axel Wagner and contributors (see also: LICENSE)
  *
  * workspaces.c: Maintaining the workspace-lists
  *
@@ -262,7 +262,7 @@ void parse_workspaces_json(char *json) {
  * free() all workspace data-structures. Does not free() the heads of the tailqueues.
  *
  */
-void free_workspaces() {
+void free_workspaces(void) {
     i3_output *outputs_walk;
     if (outputs == NULL) {
         return;