Fix 'gcc -Wextra -Wno-unused-parameter'.

This commit is contained in:
Peter Boström
2014-01-04 13:18:38 +01:00
committed by Michael Stapelberg
parent 2314f10778
commit f78c1ba053
10 changed files with 21 additions and 13 deletions

View File

@ -353,7 +353,7 @@ struct bfs_entry {
* Returns the first fullscreen node below this node.
*
*/
Con *con_get_fullscreen_con(Con *con, int fullscreen_mode) {
Con *con_get_fullscreen_con(Con *con, fullscreen_mode_t fullscreen_mode) {
Con *current, *child;
/* TODO: is breadth-first-search really appropriate? (check as soon as
@ -826,7 +826,7 @@ void con_move_to_workspace(Con *con, Con *workspace, bool fix_coordinates, bool
* container).
*
*/
int con_orientation(Con *con) {
orientation_t con_orientation(Con *con) {
switch (con->layout) {
case L_SPLITV:
/* stacking containers behave like they are in vertical orientation */