aboutsummaryrefslogtreecommitdiff
path: root/libi3
diff options
context:
space:
mode:
authorOrestis Floros <orestisf1993@gmail.com>2018-04-21 02:00:10 +0300
committerOrestis Floros <orestisf1993@gmail.com>2018-10-13 21:10:09 +0300
commit2a9522dda41ed05d5799180e2a00db5ec6373117 (patch)
treed662e015f6e8b91e47d6888659616f0e26b0b5a3 /libi3
parenta15fff2370105af288c1ebfb925a9f51274efc22 (diff)
downloadi3-2a9522dda41ed05d5799180e2a00db5ec6373117.tar.gz
i3-2a9522dda41ed05d5799180e2a00db5ec6373117.zip
Enforce strict prototypes
i3 will now compile with no warnings when -Wstrict-prototypes is used.
Diffstat (limited to 'libi3')
-rw-r--r--libi3/is_debug_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libi3/is_debug_build.c b/libi3/is_debug_build.c
index 4e583622..52187bda 100644
--- a/libi3/is_debug_build.c
+++ b/libi3/is_debug_build.c
@@ -15,7 +15,7 @@
* release version), based on the git version number.
*
*/
-bool is_debug_build() {
+bool is_debug_build(void) {
/* i3_version contains either something like this:
* "4.0.2 (2011-11-11, branch "release")".
* or: "4.0.2-123-gCOFFEEBABE (2011-11-11, branch "next")".