Enforce strict prototypes

i3 will now compile with no warnings when -Wstrict-prototypes is used.
This commit is contained in:
Orestis Floros
2018-04-21 02:00:10 +03:00
parent a15fff2370
commit 2a9522dda4
10 changed files with 14 additions and 14 deletions

View File

@ -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")".