Fix missing prototypes

i3 will now compile with no warnings when -Wmissing-prototypes is used.
This commit is contained in:
Orestis Floros
2018-04-21 02:28:31 +03:00
parent 2a9522dda4
commit a65914f338
11 changed files with 42 additions and 42 deletions

View File

@ -308,7 +308,7 @@ bool workspace_is_visible(Con *ws) {
* XXX: we need to clean up all this recursive walking code.
*
*/
Con *_get_sticky(Con *con, const char *sticky_group, Con *exclude) {
static Con *_get_sticky(Con *con, const char *sticky_group, Con *exclude) {
Con *current;
TAILQ_FOREACH(current, &(con->nodes_head), nodes) {