summaryrefslogtreecommitdiff
path: root/src/add_window.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-30 21:57:04 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 21:59:16 -0700
commitea349d3c406695665322c71caf5ea3c970cb3155 (patch)
tree73e1ea9553cae88cfe2748cd6d2681d147254851 /src/add_window.c
parentabb8b6198b639359f34ab6f0ab97039016d8b6db (diff)
Use (void) to declare functions that take no arguments, instead of ()
It's time for C89. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: <wharms@bfs.de>
Diffstat (limited to 'src/add_window.c')
-rw-r--r--src/add_window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/add_window.c b/src/add_window.c
index 72aa0aa..984e17b 100644
--- a/src/add_window.c
+++ b/src/add_window.c
@@ -981,7 +981,7 @@ static void do_add_binding (int button, int context, int modifier, int func)
}
void
-AddDefaultBindings ()
+AddDefaultBindings (void)
{
/*
* The bindings are stored in Scr->Mouse, indexed by
@@ -1161,7 +1161,7 @@ static Window CreateHighlightWindow (TwmWindow *tmp_win)
}
-void ComputeCommonTitleOffsets ()
+void ComputeCommonTitleOffsets (void)
{
int buttonwidth = (Scr->TBInfo.width + Scr->TBInfo.pad);