summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-12-09 16:38:28 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2016-12-09 16:40:19 +0100
commit7ce2f7e14abee30a84181bc991becc06bcc70ce1 (patch)
tree76072fc2cdc01f199842c4c2d27221230d905aab /src
parent8637e3d69e744fa6efca981d830e344d3ab122dc (diff)
downloadratpoison-7ce2f7e14abee30a84181bc991becc06bcc70ce1.zip
no parameter -> void; C and C++ differ here
Diffstat (limited to 'src')
-rw-r--r--src/manage.c2
-rw-r--r--src/manage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/manage.c b/src/manage.c
index 0c1877d..4296480 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -447,7 +447,7 @@ unmanage (rp_window *w)
/* When starting up scan existing windows and start managing them. */
void
-scanwins ()
+scanwins (void)
{
rp_window *win;
XWindowAttributes attr;
diff --git a/src/manage.h b/src/manage.h
index 22bb169..130ca65 100644
--- a/src/manage.h
+++ b/src/manage.h
@@ -29,7 +29,7 @@ char *list_unmanaged_windows (void);
void add_unmanaged_window (char *name);
int unmanaged_window (Window w);
rp_screen* current_screen (void);
-void scanwins ();
+void scanwins (void);
void unmanage (rp_window *w);
int update_window_name (rp_window *win);
void update_normal_hints (rp_window *win);